aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-09-03 15:11:05 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-09-03 15:11:05 -0700
commitca77610ba90dcf61bd54e89812f1f55126273f38 (patch)
tree74e2ddcc74d1537205c0e3a7c21e6deec758d499 /python
parent3d340705c08c855d6eb89f2f4e491601613c6a0d (diff)
downloadfatcat-ca77610ba90dcf61bd54e89812f1f55126273f38.tar.gz
fatcat-ca77610ba90dcf61bd54e89812f1f55126273f38.zip
fix typo bug in container ES transform
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/transforms/elasticsearch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py
index 8501f515..be4b5616 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -284,10 +284,10 @@ def container_to_elasticsearch(entity, force_bool=True):
if extra.get('road'):
if extra['road'].get('as_of'):
in_road = True
- if c_extra.get('ezb'):
+ if extra.get('ezb'):
if c_extra['ezb'].get('color') == 'green':
is_oa = True
- if c_extra.get('szczepanski'):
+ if extra.get('szczepanski'):
if c_extra['szczepanski'].get('as_of'):
is_oa = True
if extra.get('default_license'):