This commit is contained in:
b3yond 2018-09-24 21:02:10 +02:00
parent aa9267e8d1
commit d61d5750bb

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()