queue repariert

This commit is contained in:
2000-Trek 2023-11-24 18:35:51 +01:00
parent 4d5d228b32
commit e124e719c9

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[len(user_queue.queue) - 1] user = user_queue.queue[]
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