Fix new chapter code in presentation logic

bzr-revno: 383
This commit is contained in:
Tim Bentley 2009-03-06 18:00:52 +00:00
parent 4ad8b74167
commit 81a7a142e4
1 changed files with 4 additions and 3 deletions

View File

@ -354,9 +354,10 @@ class BibleMediaItem(MediaManagerItem):
def formatVerse(self, old_chapter, chapter, verse, opening, closing):
loc = opening
if self.parent.bibles_tab.new_chapter_check:
if old_chapter != chapter:
loc += chapter + u':'
if old_chapter != chapter:
loc += chapter + u':'
elif not self.parent.bibles_tab.new_chapter_check:
loc += chapter + u':'
loc += verse
loc += closing
return loc