From 9f46bf5d39cd4f19f18c269c92f58a07937eb7d9 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 24 Nov 2023 18:37:10 +0100 Subject: [PATCH] queue repariert --- Website/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/__init__.py b/Website/__init__.py index c7b57ee..650b3d4 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -227,7 +227,7 @@ def create_app(test_config=None): global message join_room(session[id]) if len(user_queue.queue) > 0: - user = user_queue.queue[] + user = user_queue.queue[0] if user == [data["data"], "add", session[id]]: socketio.emit("wait", "wait", to=session[id]) i = 0