aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-09-03 15:13:37 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-09-03 15:13:37 -0700
commit00e4ec6865782e4453d4dcec24ee205bf7c13ecf (patch)
tree837550d8060c3bca78ad70361c0c3629b2a74e09 /python/fatcat_tools/transforms
parentca77610ba90dcf61bd54e89812f1f55126273f38 (diff)
downloadfatcat-00e4ec6865782e4453d4dcec24ee205bf7c13ecf.tar.gz
fatcat-00e4ec6865782e4453d4dcec24ee205bf7c13ecf.zip
fix previous fix (need tests)
Diffstat (limited to 'python/fatcat_tools/transforms')
-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 be4b5616..56c3da8f 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -285,10 +285,10 @@ def container_to_elasticsearch(entity, force_bool=True):
if extra['road'].get('as_of'):
in_road = True
if extra.get('ezb'):
- if c_extra['ezb'].get('color') == 'green':
+ if extra['ezb'].get('color') == 'green':
is_oa = True
if extra.get('szczepanski'):
- if c_extra['szczepanski'].get('as_of'):
+ if extra['szczepanski'].get('as_of'):
is_oa = True
if extra.get('default_license'):
if extra['default_license'].startswith('CC-'):