Final tidy up for bible plugin for now.

bzr-revno: 346
This commit is contained in:
Tim Bentley 2009-02-24 21:00:00 +00:00
parent b05e609a41
commit 45cd4c181e
2 changed files with 3 additions and 2 deletions

View File

@ -559,7 +559,7 @@ class BiblePlugin(Plugin, PluginUtils):
message = "No chapter found for search"
#print "message = " + str(message)
#print "search = " + str(original)
print "results = " + str(book) + " @ "+ str(start_chapter)+" @ "+ str(end_chapter)+" @ "+ str(start_verse)+ " @ "+ str(end_verse)
#print "results = " + str(book) + " @ "+ str(start_chapter)+" @ "+ str(end_chapter)+" @ "+ str(start_verse)+ " @ "+ str(end_verse)
if message == None:
self.search_results = None

View File

@ -93,7 +93,8 @@ class CWExtract(BibleCommon):
bookname - text name of in english eg 'gen' for Genesis
chapter - chapter number
"""
log.debug( "get_bible_chapter %s,%s,%s,%s", version, bookid, bookname, chapter)
log.debug( "get_bible_chapter %s,%s,%s,%s", version, bookid, bookname, chapter)
bookname = bookname.replace(" ", "")
urlstring = "http://bible.crosswalk.com/OnlineStudyBible/bible.cgi?word="+bookname+"+"+str(chapter)+"&version="+version
xml_string = self._get_web_text(urlstring, self.proxyurl)
#log.debug("Return data %s", xml_string)