From ced064d08cfb427a6c98018a7de0b8617f06967c 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 fb06b1c25..9c69babaf 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)