summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/jalc.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/importers/jalc.py')
-rw-r--r--python/fatcat_tools/importers/jalc.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/fatcat_tools/importers/jalc.py b/python/fatcat_tools/importers/jalc.py
index 847a68e2..c1c13bb7 100644
--- a/python/fatcat_tools/importers/jalc.py
+++ b/python/fatcat_tools/importers/jalc.py
@@ -258,9 +258,10 @@ class JalcImporter(EntityImporter):
if len(pubs) > 1 and is_cjk(pubs[0]):
# ordering is not reliable
pubs = [pubs[1], pubs[0]]
- publisher = clean(pubs[0])
- if len(pubs) > 1:
- container_extra['publisher_aliases'] = pubs[1:]
+ if pubs:
+ publisher = clean(pubs[0])
+ if len(pubs) > 1:
+ container_extra['publisher_aliases'] = pubs[1:]
if (container_id is None and self.create_containers and (issnl is not None)
and container_name):