Commit a4f8367a authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update RecordPubli.report_number to fix a bug

parent 57e866b5
......@@ -812,7 +812,8 @@ class RecordPubli(Record):
data = self["primary_report_number"]
data = (data if isinstance(data, list) else [data])
li = [el for el in data if not el.startswith(ARXIV)]
li = [el for el in data
if el is not None and not el.startswith(ARXIV)]
return ", ".join(sorted(li))
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