forked from openlp/openlp
fixed 1184869 by checking that the anchor tag actually has some text
This commit is contained in:
parent
97de1555fe
commit
43fef6cc2b
@ -378,7 +378,7 @@ class BSExtract(object):
|
||||
send_error_message(u'parse')
|
||||
return None
|
||||
content = content.find_all(u'li')
|
||||
return [book.contents[0].contents[0] for book in content]
|
||||
return [book.contents[0].contents[0] for book in content if len(book.contents[0].contents)]
|
||||
|
||||
def _get_application(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user