forked from bton/matekasse
(
This commit is contained in:
parent
22d441a1c0
commit
069efb54f2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue