forked from openlp/openlp
Fixed bug #792204: SongShow Plus importer fails to import song.
This commit is contained in:
parent
18cbfe6f53
commit
75d89d22b7
@ -165,8 +165,9 @@ class SongShowPlusImport(SongImport):
|
|||||||
elif blockKey == VERSE_ORDER:
|
elif blockKey == VERSE_ORDER:
|
||||||
verseTag = self.toOpenLPVerseTag(data, True)
|
verseTag = self.toOpenLPVerseTag(data, True)
|
||||||
if verseTag:
|
if verseTag:
|
||||||
self.sspVerseOrderList.append(unicode(verseTag,
|
if not isinstance(verseTag, unicode):
|
||||||
u'cp1252'))
|
verseTag = unicode(verseTag, u'cp1252')
|
||||||
|
self.sspVerseOrderList.append(verseTag)
|
||||||
elif blockKey == SONG_BOOK:
|
elif blockKey == SONG_BOOK:
|
||||||
self.song_book_name = unicode(data, u'cp1252')
|
self.song_book_name = unicode(data, u'cp1252')
|
||||||
elif blockKey == SONG_NUMBER:
|
elif blockKey == SONG_NUMBER:
|
||||||
|
Loading…
Reference in New Issue
Block a user