diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-08-14 16:09:32 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-08-14 16:09:32 -0700 |
commit | e024a38bd29686eaa687e54cde1dc255ba6af52b (patch) | |
tree | 721fa5ce8d6e1fc7019ad3e301853215d265ec87 /python | |
parent | 67c2dd909de3c5dada6efe8db2f59ed09e76d439 (diff) | |
download | fatcat-e024a38bd29686eaa687e54cde1dc255ba6af52b.tar.gz fatcat-e024a38bd29686eaa687e54cde1dc255ba6af52b.zip |
entity updater: handle doi=None case better
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_tools/workers/changelog.py | 2 |
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 |