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

View File

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