Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
orcidutils: no identifier in work fix
Browse files Browse the repository at this point in the history
Signed-off-by: Samuele Kaplun <[email protected]>
  • Loading branch information
kaplun committed Sep 2, 2015
1 parent 6da1c1e commit 7dd5e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/miscutil/lib/orcidutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def _get_extids_from_orcid(orcid_id):
if identifier_type == "doi":
ext_ids_dict[identifier_type].add(get_doi(value))
ext_ids_dict[identifier_type].add(value)
except KeyError:
except (KeyError, AttributeError, TypeError):
# No identifiers on this work.
pass
except KeyError:
Expand Down

0 comments on commit 7dd5e8e

Please sign in to comment.