feat: start working on Flask

This commit is contained in:
DaanSelen
2026-03-03 11:15:59 +01:00
parent b95074d994
commit 992baa2afc
11 changed files with 199 additions and 13 deletions
+1 -3
View File
@@ -15,8 +15,6 @@ class database():
if not ok:
return False, None, None
log.info(connection_string)
try:
engine = sqlalchemy.create_engine(connection_string, echo=False)
@@ -30,7 +28,7 @@ class database():
return False, None, None
@staticmethod
def verify_contents(engine) -> bool:
def ensure_contents(engine) -> bool:
try:
log.info('checking if all tables are present, and creating them if they are not')