~phill-ridout/openlp/1012110_2.0

« back to all changes in this revision

Viewing changes to openlp/plugins/bibles/lib/http.py

  • Committer: Raoul Snyman
  • Author(s): Philip Ridout
  • Date: 2013-08-20 19:56:17 UTC
  • mfrom: (2151.3.2 1184869_2.0)
  • Revision ID: raoul@snyman.info-20130820195617-uhbl7j45oyclqlok
Fix bug #1184869: Ensure that there is text in the anchor tag

Show diffs side-by-side

added added

removed removed

Lines of Context:
377
377
        content = content.findAll(u'li')
378
378
        return [
379
379
            book.contents[0].contents[0] for book in content
 
380
                if len(book.contents[0].contents)
380
381
        ]
381
382
 
382
383