From f81069f4cb126af65f2e2fe08cde44077eea75e7 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 4 Aug 2020 10:36:58 -0700 Subject: fix key name mismatch in chocula importer chocula 'export-fatcat' uses 'ident', not 'fatcat_ident' --- python/fatcat_tools/importers/chocula.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'): -- cgit v1.2.3