forked from openlp/openlp
bug fix
This commit is contained in:
parent
b4303195c3
commit
e550665b23
@ -221,7 +221,7 @@ class BibleManager(object):
|
|||||||
{
|
{
|
||||||
u'name': book.name,
|
u'name': book.name,
|
||||||
u'book_reference_id': book.book_reference_id,
|
u'book_reference_id': book.book_reference_id,
|
||||||
u'chapters': self.db_cache[bible].get_chapter_count(book.book_reference_id)
|
u'chapters': self.db_cache[bible].get_chapter_count(book)
|
||||||
}
|
}
|
||||||
for book in self.db_cache[bible].get_books()
|
for book in self.db_cache[bible].get_books()
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user