This commit is contained in:
Armin Köhler 2011-05-27 23:11:53 +02:00
parent b4303195c3
commit e550665b23

View File

@ -221,7 +221,7 @@ class BibleManager(object):
{
u'name': book.name,
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()
]