This commit is contained in:
b3yond 2018-09-24 21:02:10 +02:00
parent 955e14b875
commit 74de0ee5da

View file

@ -160,7 +160,7 @@ schlitz
return db.cur.fetchone()[0] > 0
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))
db.commit()