fixed missed string

This commit is contained in:
Tim Bentley 2017-08-11 17:37:57 +01:00
parent 8d7e4dbe01
commit 2c813be4cc

View File

@ -606,7 +606,7 @@ class SongMediaItem(MediaManagerItem):
verse_index = VerseType.from_tag(verse[0]['type']) verse_index = VerseType.from_tag(verse[0]['type'])
verse_tag = VerseType.translated_tags[verse_index] verse_tag = VerseType.translated_tags[verse_index]
verse_def = '{tag}{text}'.format(tag=verse_tag, text=verse[0]['label']) verse_def = '{tag}{text}'.format(tag=verse_tag, text=verse[0]['label'])
force_verse = verse[1].split('[##-divide-##]\n', 2) force_verse = verse[1].split('[--}{--]\n', 2)
for split_verse in force_verse: for split_verse in force_verse:
service_item.add_from_text(split_verse, verse_def) service_item.add_from_text(split_verse, verse_def)
service_item.title = song.title service_item.title = song.title