From 91fcce30e6e993a4df428a710e02d391bc190e19 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 8 Feb 2017 20:30:09 -0500 Subject: [PATCH] Add missing continue statement in gateway futures. --- discord/gateway.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/gateway.py b/discord/gateway.py index 415eed418..d21a6356e 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -355,6 +355,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol): future = entry.future if future.cancelled(): removed.append(index) + continue try: valid = entry.predicate(data)