diff --git a/Website/db.py b/Website/db.py index c33a458..6ffa340 100644 --- a/Website/db.py +++ b/Website/db.py @@ -34,7 +34,7 @@ def remove_user(user_id): def add_tag(user_id, tag_id): db = get_db() c = db.cursor() - c.execute("INSERT OR IGNORE INTO tags (tagid, userid) VALUES ?, ?)", [tag_id, user_id]) + c.execute("INSERT OR IGNORE INTO tags (tagid, userid) VALUES (?, ?)", [tag_id, user_id]) db.commit() log("add_tag", after=tag_id, user_id=user_id)