forked from openlp/openlp
Jon missed these
This commit is contained in:
parent
4aae4fa317
commit
ce7857fd66
@ -65,7 +65,7 @@ class BGExtract(BibleCommon):
|
|||||||
bible = {}
|
bible = {}
|
||||||
while versePos > -1:
|
while versePos > -1:
|
||||||
# clear out string
|
# clear out string
|
||||||
verseText = ''
|
verseText = u''
|
||||||
versePos = xml_string.find(u'</span', versePos)
|
versePos = xml_string.find(u'</span', versePos)
|
||||||
i = xml_string.find(VerseSearch, versePos+1)
|
i = xml_string.find(VerseSearch, versePos+1)
|
||||||
if i == -1:
|
if i == -1:
|
||||||
@ -180,8 +180,7 @@ class BibleHTTPImpl():
|
|||||||
|
|
||||||
Init confirms the bible exists and stores the database path.
|
Init confirms the bible exists and stores the database path.
|
||||||
"""
|
"""
|
||||||
#bible = {}
|
self.biblesource = u''
|
||||||
self.biblesource = ''
|
|
||||||
self.proxyurl = None
|
self.proxyurl = None
|
||||||
self.bibleid = None
|
self.bibleid = None
|
||||||
|
|
||||||
|
@ -99,9 +99,11 @@ class BibleOSISImpl():
|
|||||||
if self.loadbible == False:
|
if self.loadbible == False:
|
||||||
break
|
break
|
||||||
pos = file_record.find(verseText)
|
pos = file_record.find(verseText)
|
||||||
if pos > -1: # we have a verse
|
# we have a verse
|
||||||
|
if pos > -1:
|
||||||
epos = file_record.find(u'>', pos)
|
epos = file_record.find(u'>', pos)
|
||||||
ref = file_record[pos+15:epos-1] # Book Reference
|
# Book Reference
|
||||||
|
ref = file_record[pos+15:epos-1]
|
||||||
#lets find the bible text only
|
#lets find the bible text only
|
||||||
# find start of text
|
# find start of text
|
||||||
pos = epos + 1
|
pos = epos + 1
|
||||||
|
Loading…
Reference in New Issue
Block a user