diff --git a/openlp/plugins/bibles/bibleplugin.py b/openlp/plugins/bibles/bibleplugin.py index 68f6c764c..022789182 100644 --- a/openlp/plugins/bibles/bibleplugin.py +++ b/openlp/plugins/bibles/bibleplugin.py @@ -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 diff --git a/openlp/plugins/bibles/lib/bibleHTTPimpl.py b/openlp/plugins/bibles/lib/bibleHTTPimpl.py index c8eeb7817..b56867ea2 100644 --- a/openlp/plugins/bibles/lib/bibleHTTPimpl.py +++ b/openlp/plugins/bibles/lib/bibleHTTPimpl.py @@ -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)