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