2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-01-31 15:32:35 +00:00

debug msg

This commit is contained in:
Philip Sargent 2023-02-01 23:56:54 +00:00
parent 8aa5a601e7
commit 5ed91e1c15

View File

@ -106,6 +106,7 @@ def reinit_db():
try:
cursor.execute(f"DROP DATABASE {currentdbname}")
except:
print(f" - - Exception when attempting to: DROP DATABASE {currentdbname}\n")
pass
cursor.execute(f"CREATE DATABASE {currentdbname}")
cursor.execute(f"ALTER DATABASE {currentdbname} CHARACTER SET=utf8")