Web Bibles to Advanced Tab complete for now

This commit is contained in:
Tim Bentley 2009-10-14 17:27:46 +01:00
parent dfe31f370d
commit 6904ac2145
3 changed files with 1 additions and 4 deletions

View File

@ -35,7 +35,7 @@ from openlp.core.resources import qInitResources
from openlp.core.ui import MainWindow, SplashScreen from openlp.core.ui import MainWindow, SplashScreen
from openlp.core.utils import ConfigHelper from openlp.core.utils import ConfigHelper
log = logging.getLogger(__name__) log = logging.getLogger()
class OpenLP(QtGui.QApplication): class OpenLP(QtGui.QApplication):
""" """

View File

@ -294,10 +294,8 @@ class BibleManager(object):
book, chapter) book, chapter)
if count == 0: if count == 0:
text = self.get_verse_text(bible, book, chapter, chapter, 1, 1) text = self.get_verse_text(bible, book, chapter, chapter, 1, 1)
print text
count = self.bible_db_cache[bible].get_max_bible_book_verses( count = self.bible_db_cache[bible].get_max_bible_book_verses(
book, chapter) book, chapter)
print count
return count return count
else: else:
return self.bible_db_cache[bible].get_max_bible_book_verses( return self.bible_db_cache[bible].get_max_bible_book_verses(

View File

@ -451,7 +451,6 @@ class BibleMediaItem(MediaManagerItem):
def initialiseChapterVerse(self, bible, book, chapters): def initialiseChapterVerse(self, bible, book, chapters):
log.debug(u'initialiseChapterVerse %s, %s', bible, book) log.debug(u'initialiseChapterVerse %s, %s', bible, book)
print bible , book , chapters
self.chapters_from = chapters self.chapters_from = chapters
self.verses = self.parent.biblemanager.get_book_verse_count(bible, self.verses = self.parent.biblemanager.get_book_verse_count(bible,
book, 1) book, 1)