From bc44985fed2a34b3435409f322ca73a22ca1ae76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Fri, 15 Jul 2022 15:35:58 +0200 Subject: [PATCH] Fix DBCONNSTRING --- backend/database.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/database.py b/backend/database.py index 528221d..579f141 100644 --- a/backend/database.py +++ b/backend/database.py @@ -18,6 +18,7 @@ connection = None def open_db() -> engine.base.Connection: global connection if (not connection): + print(current_app.config.get("DBCONNSTRING")) engine = create_engine(current_app.config.get("DBCONNSTRING")) connection = engine.connect() # cur.execute('PRAGMA encoding = "UTF-8";')