Author is optional

This commit is contained in:
Tim Bentley 2010-12-11 10:46:11 +00:00
parent 9d67aea4f7
commit 9d1eabe2a2

View File

@ -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