Skip to content

Commit c877b81

Browse files
committed
Paper.authors now returns an empty list when no authors are present, re #51
1 parent b195ea7 commit c877b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tethne/classes/paper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def authors(self):
135135
"""
136136

137137
if self['aulast'] is None:
138-
return None
138+
return []
139139

140140
auths = [ ' '.join([ a,l ]).upper()
141141
for a,l in zip (self['aulast'], self['auinit']) ]

0 commit comments

Comments
 (0)