Fix missing authors on song import

This commit is contained in:
Tim Bentley 2010-12-11 09:59:23 +00:00
parent 90c4de921a
commit 9d67aea4f7

View File

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