forked from openlp/openlp
Fix missing authors on song import
This commit is contained in:
parent
90c4de921a
commit
9d67aea4f7
@ -346,8 +346,11 @@ class OpenLyricsParser(object):
|
||||
song.comments = u''
|
||||
song.song_number = u''
|
||||
# Process Authors
|
||||
try:
|
||||
for author in properties.authors.author:
|
||||
self._process_author(author.text, song)
|
||||
except:
|
||||
self._process_author(u'Author Unknown', song)
|
||||
self.manager.save_object(song)
|
||||
return song.id
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user