aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-02-08 20:30:09 -0500
committerRapptz <[email protected]>2017-02-08 20:30:09 -0500
commitced064d08cfb427a6c98018a7de0b8617f06967c (patch)
tree3c22c215c712b21f7cadaabf8fe9e3fc55f59089
parentHandle HEARTBEAT_ACK (diff)
downloaddiscord.py-ced064d08cfb427a6c98018a7de0b8617f06967c.tar.xz
discord.py-ced064d08cfb427a6c98018a7de0b8617f06967c.zip
Add missing continue statement in gateway futures.
-rw-r--r--discord/gateway.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/gateway.py b/discord/gateway.py
index fb06b1c2..9c69baba 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -378,6 +378,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol):
future = entry.future
if future.cancelled():
removed.append(index)
+ continue
try:
valid = entry.predicate(data)