BibleGateway fix

This commit is contained in:
Jon Tibble 2011-01-12 19:12:30 +00:00
parent 64367909ba
commit 0a5b44c6a3
1 changed files with 2 additions and 1 deletions

View File

@ -208,7 +208,8 @@ class BGExtract(object):
u'version': u'%s' % version})
cleaner = [(re.compile('&nbsp;|<br />|\'\+\''), lambda match: '')]
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:
return None
Receiver.send_message(u'openlp_process_events')