aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-22 13:31:21 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-22 13:31:21 -0700
commit3e21211d65f86990193f63dcfcc71db81720b454 (patch)
tree8ecf0a1704e4a0e0ed417eca214b77f925c83243
parent080af32fe1fe940a6ed068347b9ff7c2f4925c78 (diff)
downloadfatcat-3e21211d65f86990193f63dcfcc71db81720b454.tar.gz
fatcat-3e21211d65f86990193f63dcfcc71db81720b454.zip
fix arxiv importer DOI lookup
-rw-r--r--python/fatcat_tools/importers/arxiv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/arxiv.py b/python/fatcat_tools/importers/arxiv.py
index 50452483..1c65890e 100644
--- a/python/fatcat_tools/importers/arxiv.py
+++ b/python/fatcat_tools/importers/arxiv.py
@@ -250,7 +250,7 @@ class ArxivRawImporter(EntityImporter):
if v.ext_ids.doi:
try:
- existing_doi = self.api.lookup_release(arxiv=v.ext_ids.arxiv)
+ existing_doi = self.api.lookup_release(doi=v.ext_ids.doi)
except fatcat_client.rest.ApiException as err:
if err.status != 404:
raise err