diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-15 17:12:35 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-21 11:41:29 -0700 |
commit | 8c6a7e326881d1944ebcd56ac1b528cb76b3d3e9 (patch) | |
tree | 9a18f6fdb2702409a1c4d050a6eb99adb3818ef6 /python/fatcat_tools/importers | |
parent | 91879651d7aa8a18a5fbd2b57dd60c171d6c8fba (diff) | |
download | fatcat-8c6a7e326881d1944ebcd56ac1b528cb76b3d3e9.tar.gz fatcat-8c6a7e326881d1944ebcd56ac1b528cb76b3d3e9.zip |
missing jstor import test (and fix typo)
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r-- | python/fatcat_tools/importers/jstor.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/jstor.py b/python/fatcat_tools/importers/jstor.py index 6ab320c3..9bf4a043 100644 --- a/python/fatcat_tools/importers/jstor.py +++ b/python/fatcat_tools/importers/jstor.py @@ -1,5 +1,4 @@ - import sys import json import sqlite3 @@ -228,7 +227,7 @@ class JstorImporter(EntityImporter): # then try DOI lookup if there is one if not existing and re.ext_ids.doi: try: - existing = self.api.lookup_release(jstor=re.ext_ids.jstor) + existing = self.api.lookup_release(doi=re.ext_ids.doi) except fatcat_client.rest.ApiException as err: if err.status != 404: raise err |