From d209453903e06c36e96fa46ebac96dd0b2a87c9b Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 9 Jun 2023 22:27:08 +0200 Subject: [PATCH] key fix? --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index ed2b43b..7d8167d 100644 --- a/main.py +++ b/main.py @@ -12,7 +12,8 @@ conn = sqlite3.connect(db_path, check_same_thread=False) c = conn.cursor() app = Flask(__name__) -app.secret_key = uuid.uuid4().hex +key = str(uuid.uuid4.hex) +app.secret_key = key socketio = SocketIO(app)