1
0
Fork 0
forked from anton/matekasse
This commit is contained in:
2000-Trek 2023-11-25 00:14:51 +01:00
parent 84a46c8970
commit 578a76902e

View file

@ -346,7 +346,9 @@ def create_app(test_config=None):
state = queue_item[1]
c.execute(f"SELECT * FROM users WHERE id=?", [user])
user_id = c.fetchone()[0]
user = c.fetchall()
user_id = user[0]
username = user[1]
if state == "add":
c.execute(f"SELECT * FROM tags WHERE tagid={tag_id}")
if c.fetchall() != []: