openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #11345
[Merge] lp:~mahfiaz/openlp/some_fixes into lp:openlp
mahfiaz has proposed merging lp:~mahfiaz/openlp/some_fixes into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~mahfiaz/openlp/some_fixes/+merge/71533
This seems to fix #819271, web NIV download from Bibleserver crash.
--
https://code.launchpad.net/~mahfiaz/openlp/some_fixes/+merge/71533
Your team OpenLP Core is requested to review the proposed merge of lp:~mahfiaz/openlp/some_fixes into lp:openlp.
=== modified file 'openlp/plugins/bibles/lib/http.py'
--- openlp/plugins/bibles/lib/http.py 2011-07-14 18:42:38 +0000
+++ openlp/plugins/bibles/lib/http.py 2011-08-15 09:59:56 +0000
@@ -218,7 +218,7 @@
send_error_message(u'parse')
return None
content = content.find(u'div').findAll(u'div')
- verse_number = re.compile(r'v(\d{1,2})(\d{3})(\d{3}) verse')
+ verse_number = re.compile(r'v(\d{1,2})(\d{3})(\d{3}) verse.*')
verses = {}
for verse in content:
Receiver.send_message(u'openlp_process_events')
Follow ups