aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-02-25 13:48:52 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-02-25 13:48:52 +0300
commitfb7e21a0897e6de4964ff883f1cd52a9dd443722 (patch)
tree49f04df64d4befbd2e355c64d89f2569ad7a3932
parentCall Super __init__ in Startup Error (diff)
Removes Unused Variable
Signed-off-by: Hassan Abouelela <[email protected]>
-rw-r--r--bot/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/bot.py b/bot/bot.py
index 1b4037076..3a2af472d 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -99,7 +99,7 @@ class Bot(commands.Bot):
await self.api_client.get("healthcheck")
break
- except (aiohttp.ClientConnectorError, aiohttp.ServerDisconnectedError) as e:
+ except (aiohttp.ClientConnectorError, aiohttp.ServerDisconnectedError):
attempts += 1
if attempts == constants.URLs.connect_max_retries:
raise