From e124e719c9e425d80e0679c6156c25dc47db2e2e Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 24 Nov 2023 18:35:51 +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 0cfcb09..c7b57ee 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[len(user_queue.queue) - 1] + user = user_queue.queue[] if user == [data["data"], "add", session[id]]: socketio.emit("wait", "wait", to=session[id]) i = 0