From 296efbdd615fe4f9b7ad22a71cc2812142c17aee Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 29 Jun 2018 11:20:21 -0700 Subject: small crossref_importer bugfix --- python/fatcat/crossref_importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/fatcat/crossref_importer.py b/python/fatcat/crossref_importer.py index 85062c5d..114520ed 100644 --- a/python/fatcat/crossref_importer.py +++ b/python/fatcat/crossref_importer.py @@ -53,7 +53,7 @@ class FatcatCrossrefImporter(FatcatImporter): container_id = None if issnl: container_id = self.lookup_issnl(issnl) - publisher = obj['publisher'] + publisher = obj.get('publisher') ce = None if container_id is None and self.create_containers and issnl != None: -- cgit v1.2.3