summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/fatcat_tools/importers/jalc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/jalc.py b/python/fatcat_tools/importers/jalc.py
index 0a6a69bf..2b019b3d 100644
--- a/python/fatcat_tools/importers/jalc.py
+++ b/python/fatcat_tools/importers/jalc.py
@@ -76,6 +76,8 @@ class JalcImporter(EntityImporter):
extra_jalc = dict()
titles = record.find_all("title")
+ if not titles:
+ return None
title = titles[0].string.strip()
original_title = None
if title.endswith('.'):