forked from openlp/openlp
bug fix
This commit is contained in:
parent
8a8580f359
commit
efc678d518
@ -96,7 +96,7 @@ class BGExtract(object):
|
||||
verse_list = {}
|
||||
# Cater for inconsistent mark up in the first verse of a chapter.
|
||||
first_verse = verses.find(u'versenum')
|
||||
if first_verse and 0 in first_verse.contents:
|
||||
if first_verse and len(first_verse.contents):
|
||||
verse_list[1] = unicode(first_verse.contents[0])
|
||||
for verse in verses(u'sup', u'versenum'):
|
||||
raw_verse_num = verse.next
|
||||
|
Loading…
Reference in New Issue
Block a user