forked from openlp/openlp
Author is optional
This commit is contained in:
parent
9d67aea4f7
commit
9d1eabe2a2
@ -350,7 +350,8 @@ class OpenLyricsParser(object):
|
||||
for author in properties.authors.author:
|
||||
self._process_author(author.text, song)
|
||||
except:
|
||||
self._process_author(u'Author Unknown', song)
|
||||
# No Author in XML so ignore
|
||||
pass
|
||||
self.manager.save_object(song)
|
||||
return song.id
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user