Commit 005a7cf8 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Fix a minor bug in RecordPubli.authors_as_list.

parent 924eaf00
...@@ -111,7 +111,7 @@ class RecordPubli(Record): ...@@ -111,7 +111,7 @@ class RecordPubli(Record):
authors.append(first_author) authors.append(first_author)
# sometime the first author is missing # sometime the first author is missing
if first_author != authors[0]: if first_author and len(authors) > 0 and first_author != authors[0]:
authors.insert(0, first_author) authors.insert(0, first_author)
return authors return authors
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment