summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/crossref.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/importers/crossref.py')
-rw-r--r--python/fatcat_tools/importers/crossref.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/crossref.py b/python/fatcat_tools/importers/crossref.py
index f357297a..5715654b 100644
--- a/python/fatcat_tools/importers/crossref.py
+++ b/python/fatcat_tools/importers/crossref.py
@@ -283,6 +283,8 @@ class CrossrefImporter(EntityImporter):
for key in ('group-title', 'subtitle'):
val = obj.get(key)
if val:
+ if type(val) == list:
+ val = val[0]
if type(val) == str:
extra[key] = clean(val)
else: