forked from openlp/openlp
Importer fix
bzr-revno: 959
This commit is contained in:
commit
5178172c80
@ -140,7 +140,11 @@ class OpenLPSongImport(object):
|
|||||||
if has_media_files:
|
if has_media_files:
|
||||||
new_song.alternate_title = song.alternate_title
|
new_song.alternate_title = song.alternate_title
|
||||||
else:
|
else:
|
||||||
new_song.alternate_title = u''
|
old_titles = song.search_title.split(u'@')
|
||||||
|
if len(old_titles) > 1:
|
||||||
|
new_song.alternate_title = old_titles[1]
|
||||||
|
else:
|
||||||
|
new_song.alternate_title = u''
|
||||||
new_song.search_title = song.search_title
|
new_song.search_title = song.search_title
|
||||||
new_song.song_number = song.song_number
|
new_song.song_number = song.song_number
|
||||||
new_song.lyrics = song.lyrics
|
new_song.lyrics = song.lyrics
|
||||||
|
Loading…
Reference in New Issue
Block a user