queue repariert

This commit is contained in:
2000-Trek 2023-11-24 18:37:10 +01:00
parent e124e719c9
commit 9f46bf5d39

View file

@ -227,7 +227,7 @@ def create_app(test_config=None):
global message global message
join_room(session[id]) join_room(session[id])
if len(user_queue.queue) > 0: if len(user_queue.queue) > 0:
user = user_queue.queue[] user = user_queue.queue[0]
if user == [data["data"], "add", session[id]]: if user == [data["data"], "add", session[id]]:
socketio.emit("wait", "wait", to=session[id]) socketio.emit("wait", "wait", to=session[id])
i = 0 i = 0