aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-06-22 16:08:27 +0200
committerRapptz <[email protected]>2018-08-22 21:43:53 -0400
commitc8b49d37be8c4aabb2d5896708f9dff91ffae368 (patch)
treed0b49a0532a69f7c34b330d54cc57b65719ad1ea /discord/client.py
parent[lint] Remove unnecessary lambdas (diff)
downloaddiscord.py-c8b49d37be8c4aabb2d5896708f9dff91ffae368.tar.xz
discord.py-c8b49d37be8c4aabb2d5896708f9dff91ffae368.zip
[lint] Fix incorrect and inconsistent whitespace
Adjust whitespace to be consistent with the rest of the library.
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/discord/client.py b/discord/client.py
index 440b5be3..7f99252b 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -369,10 +369,8 @@ class Client:
await self.ws.poll_event()
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,
- sequence=self.ws.sequence,
- resume=True)
+ coro = DiscordWebSocket.from_client(self, shard_id=self.shard_id, session=self.ws.session_id,
+ sequence=self.ws.sequence, resume=True)
self.ws = await asyncio.wait_for(coro, timeout=180.0, loop=self.loop)
async def connect(self, *, reconnect=True):