Skip to content

Commit

Permalink
signposting bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huberrob committed Dec 17, 2020
1 parent 7da488d commit 2ba571b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ def evaluate(self):
#check if there is a cite-as signposting link
if self.fuji.pid_scheme is None:
signposting_pid_link = self.fuji.get_signposting_links('cite-as')
signposting_pid = signposting_pid_link[0].get('url')
if signposting_pid_link:
signposting_pid = signposting_pid_link[0].get('url')
if signposting_pid:
found_ids = idutils.detect_identifier_schemes(signposting_pid[0])
if len(found_ids) > 1:
Expand Down

0 comments on commit 2ba571b

Please sign in to comment.