forked from bton/matekasse
queue repariert
This commit is contained in:
parent
e124e719c9
commit
9f46bf5d39
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue