summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-25 15:36:05 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-25 15:36:05 -0700
commitbf4bb40692c45d218f03443cf09529c459b1ac90 (patch)
tree89587e0ae8a7690d8bce4c70384c74f4894240d6
parentc1d0fea36ff88cd8c01fbf5fc7d871ac08ffef70 (diff)
downloadfatcat-bf4bb40692c45d218f03443cf09529c459b1ac90.tar.gz
fatcat-bf4bb40692c45d218f03443cf09529c459b1ac90.zip
fix typos in es/transform script
-rwxr-xr-xextra/elasticsearch/transform_release.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/elasticsearch/transform_release.py b/extra/elasticsearch/transform_release.py
index ae9a709e..4922a362 100755
--- a/extra/elasticsearch/transform_release.py
+++ b/extra/elasticsearch/transform_release.py
@@ -28,9 +28,9 @@ def transform(m):
container = m.get('container')
container_is_kept = False
if container:
- t['publisher'] = countainer.get('publisher')
- t['container_name'] = countainer.get('name')
- t['container_issnl'] = countainer.get('issnl')
+ t['publisher'] = container.get('publisher')
+ t['container_name'] = container.get('name')
+ t['container_issnl'] = container.get('issnl')
container_extra = container.get('extra')
if container_extra:
t['container_is_oa'] = container_extra.get('is_oa')