summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/orcid.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/orcid.py b/python/fatcat_tools/importers/orcid.py
index 02c9bf00..e64cdcc2 100644
--- a/python/fatcat_tools/importers/orcid.py
+++ b/python/fatcat_tools/importers/orcid.py
@@ -41,7 +41,8 @@ class OrcidImporter(EntityImporter):
returns a CreatorEntity
"""
name = obj['person']['name']
- assert name
+ if not name:
+ return None
extra = None
given = value_or_none(name.get('given-names'))
sur = value_or_none(name.get('family-name'))