forked from openlp/openlp
BibleGateway fix
This commit is contained in:
parent
64367909ba
commit
0a5b44c6a3
@ -208,7 +208,8 @@ class BGExtract(object):
|
|||||||
u'version': u'%s' % version})
|
u'version': u'%s' % version})
|
||||||
cleaner = [(re.compile(' |<br />|\'\+\''), lambda match: '')]
|
cleaner = [(re.compile(' |<br />|\'\+\''), lambda match: '')]
|
||||||
soup = get_soup_for_bible_ref(
|
soup = get_soup_for_bible_ref(
|
||||||
u'http://www.biblegateway.com/passage/?%s' % url_params, cleaner)
|
u'http://www.biblegateway.com/passage/?%s' % url_params,
|
||||||
|
cleaner=cleaner)
|
||||||
if not soup:
|
if not soup:
|
||||||
return None
|
return None
|
||||||
Receiver.send_message(u'openlp_process_events')
|
Receiver.send_message(u'openlp_process_events')
|
||||||
|
Loading…
Reference in New Issue
Block a user