forked from openlp/openlp
Import Song Book Number correctly from OpenLyrics files
bzr-revno: 1642
This commit is contained in:
commit
18d6f4f9b9
@ -527,7 +527,6 @@ class OpenLyrics(object):
|
|||||||
book = Book.populate(name=bookname, publisher=u'')
|
book = Book.populate(name=bookname, publisher=u'')
|
||||||
self.manager.save_object(book)
|
self.manager.save_object(book)
|
||||||
song.song_book_id = book.id
|
song.song_book_id = book.id
|
||||||
if hasattr(songbook, u'entry'):
|
|
||||||
song.song_number = self._get(songbook, u'entry')
|
song.song_number = self._get(songbook, u'entry')
|
||||||
# We only support one song book, so take the first one.
|
# We only support one song book, so take the first one.
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user