From d1f9c7a988cabc314a725ea861cffba6725b6f0e Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Wed, 7 Jun 2023 19:42:39 +0200 Subject: [PATCH] removed all prints --- main.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.py b/main.py index f4b4e69..45d66d7 100644 --- a/main.py +++ b/main.py @@ -89,28 +89,22 @@ def get_addtag_request(): except: #except im Normalen Code! return "Wrong user id!" users.put(user_id) - print(f"put: {len(users.queue)}") return render_template("addtag.html", user=user_id) @socketio.on('addtag') def request_addtag(data): global finished - print(f"add tag: {len(users.queue)}") if len(users.queue) > 0: user = users.queue[len(users.queue) - 1] if user == data["data"]: socketio.emit("wait", "wait") i = 0 while finished != data["data"]: - print("waiting") time.sleep(1) i += 1 if i > 20: - print("timeout") socketio.emit("error", "timeout") nothing = users.get() - print(f"nothing: {nothing}") - print("cleared") break else: finished = None