forked from openlp/openlp
Web Bibles to Advanced Tab complete for now
This commit is contained in:
parent
dfe31f370d
commit
6904ac2145
@ -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):
|
||||||
"""
|
"""
|
||||||
|
@ -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(
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user