From 069efb54f229aed30a79881b1cd486429b48ea9a Mon Sep 17 00:00:00 2001 From: bton Date: Wed, 13 Mar 2024 21:20:45 +0100 Subject: [PATCH] ( --- Website/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)