summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-08-04 10:36:58 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-08-04 10:39:19 -0700
commitf81069f4cb126af65f2e2fe08cde44077eea75e7 (patch)
tree726f56ed91b343d15c4aa0e6415f1da45a468b7c /python
parent4702bee24dde8bae64df76ad411a6d8329cc9bdf (diff)
downloadfatcat-f81069f4cb126af65f2e2fe08cde44077eea75e7.tar.gz
fatcat-f81069f4cb126af65f2e2fe08cde44077eea75e7.zip
fix key name mismatch in chocula importer
chocula 'export-fatcat' uses 'ident', not 'fatcat_ident'
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/importers/chocula.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/chocula.py b/python/fatcat_tools/importers/chocula.py
index d5d1cce8..1683c500 100644
--- a/python/fatcat_tools/importers/chocula.py
+++ b/python/fatcat_tools/importers/chocula.py
@@ -24,7 +24,7 @@ class ChoculaImporter(EntityImporter):
**kwargs)
def want(self, raw_record):
- if not raw_record.get('fatcat_ident') and not raw_record.get('_known_issnl'):
+ if not raw_record.get('ident') and not raw_record.get('_known_issnl'):
self.counts['skip-unknown-new-issnl'] += 1
return False
if raw_record.get('issnl') and raw_record.get('name'):