forked from openlp/openlp
Fixed Bug 707605 - Losing song book number on OpenLyrics import
This commit is contained in:
parent
02a0a72b7d
commit
1d2415808d
@ -527,8 +527,7 @@ class OpenLyrics(object):
|
||||
book = Book.populate(name=bookname, publisher=u'')
|
||||
self.manager.save_object(book)
|
||||
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.
|
||||
break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user