From 6f0c2a7678b55cda748be443fb44f66e12dc53d8 Mon Sep 17 00:00:00 2001 From: spla Date: Sat, 15 May 2021 11:35:08 +0200 Subject: [PATCH] feeds database lookup via links column --- mastofeeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastofeeds.py b/mastofeeds.py index d4d0d2c..977147e 100644 --- a/mastofeeds.py +++ b/mastofeeds.py @@ -84,7 +84,7 @@ if __name__ == '__main__': cur = conn.cursor() - cur.execute('select id from feeds where id=(%s)', (id,)) + cur.execute('select link from feeds where link=(%s)', (link,)) row = cur.fetchone() if row == None: