aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-22 10:11:20 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-22 10:11:20 -0700
commit1e2f95823bb292bbc3245f93c4e03e47517e2141 (patch)
tree9a4e69838aaa9aa38d1eb87da5bfc2b1ff432d62 /python/fatcat_tools/importers
parent6929f3d33d9be46d3e33dbf237577fed13b70444 (diff)
downloadfatcat-1e2f95823bb292bbc3245f93c4e03e47517e2141.tar.gz
fatcat-1e2f95823bb292bbc3245f93c4e03e47517e2141.zip
SQUASH: arxiv importer syntax
Diffstat (limited to 'python/fatcat_tools/importers')
-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 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)