aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-06-22 14:47:56 +0200
committerRapptz <[email protected]>2018-08-22 21:43:51 -0400
commit119c5a0618c82b7f425a59e2e6a8c5ce35c48a37 (patch)
tree5dcb485ece928adbc2886c0eebd5fcde7be8093b /discord/client.py
parent[lint] Remove unused imports (diff)
downloaddiscord.py-119c5a0618c82b7f425a59e2e6a8c5ce35c48a37.tar.xz
discord.py-119c5a0618c82b7f425a59e2e6a8c5ce35c48a37.zip
[lint] Remove unused variables
Left over from various refactoring and rewrites.
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 9c1fdac2..440b5be3 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -367,7 +367,7 @@ class Client:
while True:
try:
await self.ws.poll_event()
- except ResumeWebSocket as e:
+ except ResumeWebSocket:
log.info('Got a request to RESUME the websocket.')
coro = DiscordWebSocket.from_client(self, shard_id=self.shard_id,
session=self.ws.session_id,