summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-08-29 12:00:24 +0200
committerBryan Newbold <bnewbold@robocracy.org>2019-09-03 13:31:49 -0700
commit535c6a26e478746249c722b09facf985fd7d116f (patch)
treeef6a22f5e1bc817eb8b9b407061d8f96de0833b2 /python/fatcat_tools/importers
parentc6c195f298e92b37a8a96a09037b926abbfc54af (diff)
downloadfatcat-535c6a26e478746249c722b09facf985fd7d116f.tar.gz
fatcat-535c6a26e478746249c722b09facf985fd7d116f.zip
chocula importer: include DOAJ updates
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/chocula.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/chocula.py b/python/fatcat_tools/importers/chocula.py
index 348b3d3b..89b0736d 100644
--- a/python/fatcat_tools/importers/chocula.py
+++ b/python/fatcat_tools/importers/chocula.py
@@ -51,7 +51,7 @@ class ChoculaImporter(EntityImporter):
extra = dict()
for k in ('urls', 'webarchive_urls', 'issne', 'issnp', 'country',
- 'sherpa_romeo', 'ezb', 'szczepanski', 'languages'):
+ 'sherpa_romeo', 'ezb', 'szczepanski', 'doaj', 'languages'):
if row['extra'].get(k):
extra[k] = row['extra'][k]
@@ -115,7 +115,7 @@ class ChoculaImporter(EntityImporter):
existing.publisher = ce.publisher
existing.container_type = existing.container_type or ce.container_type
for k in ('urls', 'webarchive_urls', 'issne', 'issnp', 'country',
- 'sherpa_romeo', 'ezb', 'szczepanski'):
+ 'sherpa_romeo', 'ezb', 'szczepanski', 'doaj'):
if ce.extra.get(k):
existing.extra[k] = ce.extra[k]
if ce.extra.get('languages'):