aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r--python/fatcat_tools/importers/crossref.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_tools/importers/crossref.py b/python/fatcat_tools/importers/crossref.py
index a75b1d5e..1ea47707 100644
--- a/python/fatcat_tools/importers/crossref.py
+++ b/python/fatcat_tools/importers/crossref.py
@@ -75,9 +75,9 @@ class CrossrefImporter(FatcatImporter):
returns a ReleaseEntity
"""
- # Previously required the 'author' and 'title' keys to exsit, but now don't
- #if (not 'author' in obj) or (not 'title' in obj):
- # return None
+ # Do require the 'title' keys to exsit, as release entities do
+ if (not 'title' in obj) or (not obj['title']):
+ return None
# Ways to be out of scope (provisionally)
# journal-issue and journal-volume map to None, but allowed for now