From 47722de47385b0bb79897815bfb2fe7b7e00477f Mon Sep 17 00:00:00 2001 From: Frisk Date: Sat, 20 Mar 2021 14:00:29 +0100 Subject: [PATCH] Fix argument list consistency --- src/bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bot.py b/src/bot.py index e4e6eb0..b4d7800 100644 --- a/src/bot.py +++ b/src/bot.py @@ -431,8 +431,7 @@ async def discussion_handler(): error = discussion_feed_resp["error"] if error == "NotFoundException": # Discussions disabled if db_wiki["rcid"] != -1: # RC feed is disabled - await connection.execute("UPDATE rcgcdw SET postid = $1 WHERE wiki = $2", - ("-1", db_wiki["wiki"],)) + await connection.execute("UPDATE rcgcdw SET postid = $1 WHERE wiki = $2", "-1", db_wiki["wiki"]) else: await local_wiki.remove(db_wiki["wiki"], 1000) await DBHandler.update_db()