From 1e2f95823bb292bbc3245f93c4e03e47517e2141 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 22 May 2019 10:11:20 -0700 Subject: SQUASH: arxiv importer syntax --- python/fatcat_tools/importers/arxiv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/fatcat_tools/importers/arxiv.py b/python/fatcat_tools/importers/arxiv.py index c8133b30..243841f4 100644 --- a/python/fatcat_tools/importers/arxiv.py +++ b/python/fatcat_tools/importers/arxiv.py @@ -88,7 +88,7 @@ class ArxivRawImporter(EntityImporter): doi = None if metadata.doi and metadata.doi.string: doi = metadata.doi.string.lower().strip() - if not (doi.startswith('10.') and '/' in doi: + if not (doi.startswith('10.') and '/' in doi): sys.stderr.write("BOGUS DOI: {}\n".format(doi)) doi = None title = latex_to_text(metadata.title.string) -- cgit v1.2.3