aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-21 19:09:38 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-21 19:09:38 -0700
commitf3f72f11d1cddbb05455066ff58e05f115d042d8 (patch)
tree1e8244ab402b1be25158fdb190e9e05c327c448e
parenta67c8e65f4892899df3368ac7ea3abaee176fb3a (diff)
downloadfatcat-f3f72f11d1cddbb05455066ff58e05f115d042d8.tar.gz
fatcat-f3f72f11d1cddbb05455066ff58e05f115d042d8.zip
JALC importer requires a valid DOI
-rw-r--r--python/fatcat_tools/importers/jalc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/jalc.py b/python/fatcat_tools/importers/jalc.py
index 5ec2f139..1e1c9032 100644
--- a/python/fatcat_tools/importers/jalc.py
+++ b/python/fatcat_tools/importers/jalc.py
@@ -93,6 +93,7 @@ class JalcImporter(EntityImporter):
if not doi.startswith('10.'):
sys.stderr.write("bogus JALC DOI: {}\n".format(doi))
doi = None
+ return None
contribs = []
people = record.find_all("Person")