diff --git a/Website/__init__.py b/Website/__init__.py index ddba52c..8ac049d 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -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() != []: