diff options
| author | Hornwitser <[email protected]> | 2018-06-22 16:08:27 +0200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-08-22 21:43:53 -0400 |
| commit | c8b49d37be8c4aabb2d5896708f9dff91ffae368 (patch) | |
| tree | d0b49a0532a69f7c34b330d54cc57b65719ad1ea /discord/shard.py | |
| parent | [lint] Remove unnecessary lambdas (diff) | |
| download | discord.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.py | 6 |
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): |