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: