fix log
This commit is contained in:
parent
84a46c8970
commit
578a76902e
1 changed files with 3 additions and 1 deletions
|
@ -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() != []:
|
||||
|
|
Loading…
Reference in a new issue