Fixed bug #792204: SongShow Plus importer fails to import song.

This commit is contained in:
Raoul Snyman 2011-06-14 07:45:23 +02:00
parent 18cbfe6f53
commit 75d89d22b7
1 changed files with 3 additions and 2 deletions

View File

@ -165,8 +165,9 @@ class SongShowPlusImport(SongImport):
elif blockKey == VERSE_ORDER:
verseTag = self.toOpenLPVerseTag(data, True)
if verseTag:
self.sspVerseOrderList.append(unicode(verseTag,
u'cp1252'))
if not isinstance(verseTag, unicode):
verseTag = unicode(verseTag, u'cp1252')
self.sspVerseOrderList.append(verseTag)
elif blockKey == SONG_BOOK:
self.song_book_name = unicode(data, u'cp1252')
elif blockKey == SONG_NUMBER: