1
0
Fork 0
forked from bton/matekasse

fixed tagremove

This commit is contained in:
2000-Trek 2023-06-14 20:39:42 +02:00
parent e4edf6b626
commit d9bdf63119

View file

@ -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: