aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-02-18 22:28:08 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-02-18 22:28:08 -0800
commitdfe6ce0f3b47e4a6779ad65c4dd7cbd6b4fdaf7b (patch)
tree37b3547827018f5ec9fd1af32753f2bcf7ee05de /python/fatcat_tools/importers
parent1b970b7a807ed28549facf796d6ef65288bc9db2 (diff)
downloadfatcat-dfe6ce0f3b47e4a6779ad65c4dd7cbd6b4fdaf7b.tar.gz
fatcat-dfe6ce0f3b47e4a6779ad65c4dd7cbd6b4fdaf7b.zip
ingest importer: edit_extra is a top-level key
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/ingest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/ingest.py b/python/fatcat_tools/importers/ingest.py
index 52b48f5e..5d6fea7d 100644
--- a/python/fatcat_tools/importers/ingest.py
+++ b/python/fatcat_tools/importers/ingest.py
@@ -166,7 +166,7 @@ class IngestFileResultImporter(EntityImporter):
release_ids=[release_ident],
urls=urls,
)
- if fatcat and fatcat.get('edit_extra'):
+ if request.get('edit_extra'):
fe.edit_extra = fatcat['edit_extra']
else:
fe.edit_extra = dict()