1
0
Fork 0
forked from anton/matekasse
This commit is contained in:
bton 2024-03-13 21:20:45 +01:00
parent 22d441a1c0
commit 069efb54f2

View file

@ -34,7 +34,7 @@ def remove_user(user_id):
def add_tag(user_id, tag_id): def add_tag(user_id, tag_id):
db = get_db() db = get_db()
c = db.cursor() 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() db.commit()
log("add_tag", after=tag_id, user_id=user_id) log("add_tag", after=tag_id, user_id=user_id)