summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-04-19 16:41:06 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-04-19 16:41:06 -0700
commitb736f98ec603ac99b3061db6e59e586129181fcb (patch)
tree09af573379af035792e26bf2a498bcde7e2c0a16 /python/fatcat_tools/transforms
parentd6847361963c4893e06c0edf9efc0080a7ed0756 (diff)
downloadfatcat-b736f98ec603ac99b3061db6e59e586129181fcb.tar.gz
fatcat-b736f98ec603ac99b3061db6e59e586129181fcb.zip
transforms: fix 'display_ame' typo
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 331ca4e7..4c6ee2e2 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -113,8 +113,8 @@ def release_to_elasticsearch(entity: ReleaseEntity, force_bool: bool = True) ->
contrib_affiliations = []
creator_ids = []
for c in (release.contribs or []):
- if c.creator and c.creator.display_ame:
- contrib_names.append(c.creator.display_ame)
+ if c.creator and c.creator.display_name:
+ contrib_names.append(c.creator.display_name)
elif c.raw_name:
contrib_names.append(c.raw_name)
elif c.surname: