forked from openlp/openlp
completed work
This commit is contained in:
parent
a66a77bdec
commit
b8e6da0417
@ -73,8 +73,10 @@ class OpenLP1Bible(BibleDB):
|
|||||||
self.create_book(name, abbreviation, testament_id)
|
self.create_book(name, abbreviation, testament_id)
|
||||||
self.session.commit()
|
self.session.commit()
|
||||||
# Import chapters/verses.
|
# Import chapters/verses.
|
||||||
cursor.execute(u'SELECT id, book_id, chapter, verse, text || \'\' AS '
|
for book in books:
|
||||||
'text FROM verse')
|
print u'Importiere %s' % book
|
||||||
|
cursor.execute(u'SELECT id, book_id, chapter, verse, text || \'\' '
|
||||||
|
'AS text FROM verse WHERE book_id=%s' % book)
|
||||||
verses = cursor.fetchall()
|
verses = cursor.fetchall()
|
||||||
for verse in verses:
|
for verse in verses:
|
||||||
book_id = int(verse[1])
|
book_id = int(verse[1])
|
||||||
|
Loading…
Reference in New Issue
Block a user