diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/sql/books/createdb.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/sql/books/createdb.py b/examples/sql/books/createdb.py index 1ca52470f..d03060ad5 100644 --- a/examples/sql/books/createdb.py +++ b/examples/sql/books/createdb.py @@ -101,10 +101,10 @@ def init_db(): check(db.open) q = QSqlQuery() - check(q.exec_,BOOKS_SQL) - check(q.exec_,AUTHORS_SQL) - check(q.exec_,GENRES_SQL) - check(q.prepare,INSERT_AUTHOR_SQL) + check(q.exec_, BOOKS_SQL) + check(q.exec_, AUTHORS_SQL) + check(q.exec_, GENRES_SQL) + check(q.prepare, INSERT_AUTHOR_SQL) asimovId = add_author(q, "Isaac Asimov", datetime(1920, 2, 1)) greeneId = add_author(q, "Graham Greene", datetime(1904, 10, 2)) |