clean up - not working

This commit is contained in:
Andreas Preikschat 2010-08-28 20:56:46 +02:00
parent 36e2f2e33f
commit 521b06ee8c
1 changed files with 5 additions and 4 deletions

View File

@ -533,12 +533,13 @@ class BibleMediaItem(MediaManagerItem):
bible_text = u'%s %s %s\n\n' % (bible_text, verse_text, text)
# We have to be 'Continuous'.
else:
# We add a line break if the previously verse has a different
# book or bible version.
# split the line but do not replace line breaks in renderer
service_item.add_capability(ItemCapabilities.NoLineBreaks)
#text = text + u'\n'
if first:
bible_text = u'%s %s %s' % (bible_text, verse_text, text)
# split the line but do not replace line breaks in renderer
service_item.add_capability(ItemCapabilities.NoLineBreaks)
# We add a line break if the previously verse has a different
# book or bible version.
elif bible != old_bible or book != old_book:
bible_text = u'%s\n%s %s' % (bible_text, verse_text,
text)