diff options
| author | Rapptz <[email protected]> | 2017-01-23 07:08:29 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-23 07:08:29 -0500 |
| commit | f06024f2362859cc8ddf128bfbb9ac3748064493 (patch) | |
| tree | ede96b5dd590f8d25123b89a944d15113093423f | |
| parent | Fix Client.create_server. (diff) | |
| download | discord.py-f06024f2362859cc8ddf128bfbb9ac3748064493.tar.xz discord.py-f06024f2362859cc8ddf128bfbb9ac3748064493.zip | |
Fix potential chunking woe.
| -rw-r--r-- | discord/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/state.py b/discord/state.py index 0e2aefb0..87564ab4 100644 --- a/discord/state.py +++ b/discord/state.py @@ -487,8 +487,8 @@ class ConnectionState: @asyncio.coroutine def _chunk_and_dispatch(self, server, unavailable): - yield from self.chunker(server) chunks = list(self.chunks_needed(server)) + yield from self.chunker(server) if chunks: try: yield from asyncio.wait(chunks, timeout=len(chunks), loop=self.loop) |