forked from ticketfrei/ticketfrei
fuck sql
This commit is contained in:
parent
955e14b875
commit
74de0ee5da
2
user.py
2
user.py
|
@ -160,7 +160,7 @@ schlitz
|
||||||
return db.cur.fetchone()[0] > 0
|
return db.cur.fetchone()[0] > 0
|
||||||
|
|
||||||
def toot_witness(self, toot_uri):
|
def toot_witness(self, toot_uri):
|
||||||
db.execute("INSERT INTO seen_toots SET (toot_uri, user_id) VALUES (?,?);",
|
db.execute("INSERT INTO seen_toots (toot_uri, user_id) VALUES (?,?);",
|
||||||
(toot_uri, self.uid))
|
(toot_uri, self.uid))
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue