diff --git a/fetch_blocks.py b/fetch_blocks.py index 187ac09..8b39eed 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -418,8 +418,8 @@ for blocker, software in c.fetchall(): timestamp = int(time()) c.execute( - "select * from blocks where blocker = ? and blocked = ? and reason = ?", - (blocker, blocked, reason), + "select * from blocks where blocker = ? and blocked = ?", + (blocker, blocked), ) if c.fetchone() == None: c.execute(