From 34eb392ce0304288480426ea7a695283bc870611 Mon Sep 17 00:00:00 2001 From: bton Date: Wed, 21 Feb 2024 23:36:32 +0100 Subject: [PATCH] doch nicht --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index 96d2fb1..c37091a 100644 --- a/main.py +++ b/main.py @@ -3,6 +3,9 @@ from Website import create_app from flask_socketio import SocketIO import atexit, sqlite3, sys, datetime, logging +app_data = create_app() +app = app_data["app"] + def exit_handler(): sys.exit("Program sucsesfully exited")