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