summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/workers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-08-14 16:09:32 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-08-14 16:09:32 -0700
commite024a38bd29686eaa687e54cde1dc255ba6af52b (patch)
tree721fa5ce8d6e1fc7019ad3e301853215d265ec87 /python/fatcat_tools/workers
parent67c2dd909de3c5dada6efe8db2f59ed09e76d439 (diff)
downloadfatcat-e024a38bd29686eaa687e54cde1dc255ba6af52b.tar.gz
fatcat-e024a38bd29686eaa687e54cde1dc255ba6af52b.zip
entity updater: handle doi=None case better
Diffstat (limited to 'python/fatcat_tools/workers')
-rw-r--r--python/fatcat_tools/workers/changelog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/workers/changelog.py b/python/fatcat_tools/workers/changelog.py
index b0dca6eb..c7b156f6 100644
--- a/python/fatcat_tools/workers/changelog.py
+++ b/python/fatcat_tools/workers/changelog.py
@@ -226,7 +226,7 @@ class EntityUpdatesWorker(FatcatWorker):
return False
# figshare
- if doi and doi.startswith('10.6084/') or doi.startswith('10.25384/'):
+ if doi and (doi.startswith('10.6084/') or doi.startswith('10.25384/')):
# don't crawl "most recent version" (aka "group") DOIs
if not release.version:
return False