From 74de0ee5dab9818b6f778105ecbbda68bdf95452 Mon Sep 17 00:00:00 2001 From: b3yond Date: Mon, 24 Sep 2018 21:02:10 +0200 Subject: [PATCH] fuck sql --- user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.py b/user.py index ccd9656..2262bd1 100644 --- a/user.py +++ b/user.py @@ -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()