From db967ede04c123a40b1e610d0bd6ceb4cf55e988 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Wed, 13 Sep 2023 20:14:14 +0200 Subject: [PATCH] app --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index eb8def6..6376dba 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")