aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/fatcat_tools/importers/orcid.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_tools/importers/orcid.py b/python/fatcat_tools/importers/orcid.py
index e64cdcc2..a055801b 100644
--- a/python/fatcat_tools/importers/orcid.py
+++ b/python/fatcat_tools/importers/orcid.py
@@ -55,9 +55,9 @@ class OrcidImporter(EntityImporter):
display = sur
elif given:
display = given
- else:
- # must have *some* name
- return None
+ if not display:
+ # must have *some* name
+ return None
orcid = obj['orcid-identifier']['path']
if not self.is_orcid(orcid):
sys.stderr.write("Bad ORCID: {}\n".format(orcid))