From 3c947da20980040eaa95a5bc75fd847fd6d16732 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Wed, 7 Jun 2023 20:30:31 +0200 Subject: [PATCH] queue erro fixed i hope --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 45d66d7..e7a994f 100644 --- a/main.py +++ b/main.py @@ -96,6 +96,7 @@ def request_addtag(data): global finished if len(users.queue) > 0: user = users.queue[len(users.queue) - 1] + print(user) if user == data["data"]: socketio.emit("wait", "wait") i = 0 @@ -104,7 +105,6 @@ def request_addtag(data): i += 1 if i > 20: socketio.emit("error", "timeout") - nothing = users.get() break else: finished = None