← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~phill-ridout/openlp/1184869_2.0 into lp:openlp/2.0

 

Phill has proposed merging lp:~phill-ridout/openlp/1184869_2.0 into lp:openlp/2.0.

Requested reviews:
  OpenLP Core (openlp-core)
Related bugs:
  Bug #1184869 in OpenLP: "Webbible import fails"
  https://bugs.launchpad.net/openlp/+bug/1184869

For more details, see:
https://code.launchpad.net/~phill-ridout/openlp/1184869_2.0/+merge/178393

Fixes #1184869 Ensures that there is text in the anchor tag
-- 
https://code.launchpad.net/~phill-ridout/openlp/1184869_2.0/+merge/178393
Your team OpenLP Core is requested to review the proposed merge of lp:~phill-ridout/openlp/1184869_2.0 into lp:openlp/2.0.
=== modified file 'openlp/plugins/bibles/lib/http.py'
--- openlp/plugins/bibles/lib/http.py	2012-12-30 19:41:24 +0000
+++ openlp/plugins/bibles/lib/http.py	2013-08-02 21:55:33 +0000
@@ -375,6 +375,7 @@
         content = content.findAll(u'li')
         return [
             book.contents[0].contents[0] for book in content
+            if len(book.contents[0].contents)
         ]
 
 


Follow ups