diff --git a/main.py b/main.py index 7d8167d..2b67679 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__) -key = str(uuid.uuid4.hex) +key = str(uuid.uuid4().hex) app.secret_key = key socketio = SocketIO(app)