Fix v2 import bug

This commit is contained in:
Jon Tibble 2010-12-06 23:37:55 +00:00
parent 533a0c5b5b
commit 9291516b59

View File

@ -152,7 +152,7 @@ class OpenLPSongImport(SongImport):
u'Importing song %s of %s' % (song_count, song_total))
new_song = Song()
new_song.title = song.title
if has_media_files:
if has_media_files and hasattr(song, 'alternate_title'):
new_song.alternate_title = song.alternate_title
else:
old_titles = song.search_title.split(u'@')