diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-22 10:11:20 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-22 10:11:20 -0700 |
commit | 1e2f95823bb292bbc3245f93c4e03e47517e2141 (patch) | |
tree | 9a4e69838aaa9aa38d1eb87da5bfc2b1ff432d62 /python/fatcat_tools | |
parent | 6929f3d33d9be46d3e33dbf237577fed13b70444 (diff) | |
download | fatcat-1e2f95823bb292bbc3245f93c4e03e47517e2141.tar.gz fatcat-1e2f95823bb292bbc3245f93c4e03e47517e2141.zip |
SQUASH: arxiv importer syntax
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r-- | python/fatcat_tools/importers/arxiv.py | 2 |
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) |