summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-01-30 13:22:45 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-01-30 13:22:45 -0800
commit5ba91951bb4ebc59cb59340e82cba2a7d763dc59 (patch)
treebf4c7ed7ad2b088be3bd32bd0ced8be6393509ab
parent8aac86c4484f0376c46cdd51c69d5ada478b7f72 (diff)
downloadfatcat-5ba91951bb4ebc59cb59340e82cba2a7d763dc59.tar.gz
fatcat-5ba91951bb4ebc59cb59340e82cba2a7d763dc59.zip
fix release es transform missing 'issue'
-rw-r--r--python/fatcat_tools/transforms/elasticsearch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py
index ded239d3..b5abe2ae 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -248,6 +248,7 @@ def release_to_elasticsearch(entity, force_bool=True):
# special case as a demo for now.
if release.container_id == "hl5g6d5msjcl7hlbyyvcsbhc2u" \
and release.release_year in (2011, 2013) \
+ and release.issue \
and release.issue.isdigit() \
and t['first_page']:
t['ia_microfilm_url'] = "https://archive.org/details/sim_bjog_{}-{:02d}/page/n{}".format(