From d9bdf63119b32291772dad961b5f3ddfc8c0f7f6 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Wed, 14 Jun 2023 20:39:42 +0200 Subject: [PATCH] fixed tagremove --- main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.py b/main.py index 69927ea..79991eb 100644 --- a/main.py +++ b/main.py @@ -187,9 +187,7 @@ def request_removetag(data): finished = None c.execute(f"SELECT * FROM users WHERE id ={user}") username = c.fetchall()[0][1] - c.execute(f"SELECT * FROM tags WHERE userid={user}") - tag_id = c.fetchall()[0][0] - socketio.emit("finished", f"removed {tag_id} from {username}") + socketio.emit("finished", f"removed tag from {username}") else: socketio.emit("busy", "busy", to=session[id]) else: