app
This commit is contained in:
parent
2f0292710f
commit
db967ede04
1 changed files with 3 additions and 0 deletions
3
main.py
3
main.py
|
@ -3,6 +3,9 @@ from Website import create_app
|
||||||
from flask_socketio import SocketIO
|
from flask_socketio import SocketIO
|
||||||
import atexit, sqlite3, sys, datetime, logging
|
import atexit, sqlite3, sys, datetime, logging
|
||||||
|
|
||||||
|
app_data = create_app()
|
||||||
|
app = app_data["app"]
|
||||||
|
|
||||||
def exit_handler():
|
def exit_handler():
|
||||||
sys.exit("Program sucsesfully exited")
|
sys.exit("Program sucsesfully exited")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue