Print message and commit for initial db create
This commit is contained in:
parent
6b3c08100d
commit
e7aa4fa048
|
@ -19,7 +19,9 @@ class database:
|
|||
db = sqlite3.connect("db.sqlite", check_same_thread=False, cached_statements=0, isolation_level=None)
|
||||
cursor = db.cursor()
|
||||
for query in queries:
|
||||
print("Executing: %s" % query)
|
||||
cursor.execute(query)
|
||||
cursor.commit()
|
||||
db.close()
|
||||
|
||||
def openDB(self):
|
||||
|
|
Loading…
Reference in New Issue