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)