From e1b573e32c7bafdbbeeac7480e802feedf6cfef7 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 9 Jun 2023 22:26:00 +0200 Subject: [PATCH] making the sekret key an hex --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 7a76706..ed2b43b 100644 --- a/main.py +++ b/main.py @@ -12,7 +12,7 @@ conn = sqlite3.connect(db_path, check_same_thread=False) c = conn.cursor() app = Flask(__name__) -app.secret_key = str(uuid.uuid4()) +app.secret_key = uuid.uuid4().hex socketio = SocketIO(app)