part 2 - db changes

This commit is contained in:
Philip Ridout 2016-08-04 21:37:04 +01:00
parent 37a5050c38
commit 160cc163fc

View File

@ -982,7 +982,7 @@ class OldBibleDB(QtCore.QObject, Manager):
def get_verses(self, book_id): def get_verses(self, book_id):
""" """
Returns the verses of the Bible. Returns the verses of the Bible.
""" """
verses = self.run_sql( verses = self.run_sql(
'SELECT book_id, chapter, verse, text FROM verse WHERE book_id = ? ORDER BY id', (book_id, )) 'SELECT book_id, chapter, verse, text FROM verse WHERE book_id = ? ORDER BY id', (book_id, ))