aboutsummaryrefslogtreecommitdiff
path: root/discord/shard.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/shard.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/shard.py')
-rw-r--r--discord/shard.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/discord/shard.py b/discord/shard.py
index c06e6398..f5b5ae10 100644
--- a/discord/shard.py
+++ b/discord/shard.py
@@ -76,10 +76,8 @@ class Shard:
await self.ws.poll_event()
except ResumeWebSocket:
log.info('Got a request to RESUME the websocket at Shard ID %s.', self.id)
- coro = DiscordWebSocket.from_client(self._client, resume=True,
- shard_id=self.id,
- session=self.ws.session_id,
- sequence=self.ws.sequence)
+ coro = DiscordWebSocket.from_client(self._client, resume=True, shard_id=self.id,
+ session=self.ws.session_id, sequence=self.ws.sequence)
self.ws = await asyncio.wait_for(coro, timeout=180.0, loop=self.loop)
def get_future(self):