From 8c6a7e326881d1944ebcd56ac1b528cb76b3d3e9 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 15 May 2019 17:12:35 -0700 Subject: missing jstor import test (and fix typo) --- python/fatcat_tools/importers/jstor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'python/fatcat_tools/importers') 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 -- cgit v1.2.3