summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-29 11:20:21 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-29 11:20:21 -0700
commit296efbdd615fe4f9b7ad22a71cc2812142c17aee (patch)
tree69145fd3dd0aaab7cec76f5136840e826b32bd27 /python
parentcf198ed37b437b5e1c64a29c49810391f40f73d6 (diff)
downloadfatcat-296efbdd615fe4f9b7ad22a71cc2812142c17aee.tar.gz
fatcat-296efbdd615fe4f9b7ad22a71cc2812142c17aee.zip
small crossref_importer bugfix
Diffstat (limited to 'python')
-rw-r--r--python/fatcat/crossref_importer.py2
1 files changed, 1 insertions, 1 deletions
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: