From c9ca0f1670d3cadb278186f19b957abc235f70ee Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 5 Oct 2016 19:37:07 -0500 Subject: [PATCH] Fix handling invalid_session --- disco/gateway/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disco/gateway/client.py b/disco/gateway/client.py index ded1b2d..4586344 100644 --- a/disco/gateway/client.py +++ b/disco/gateway/client.py @@ -73,7 +73,7 @@ class GatewayClient(LoggingClass): def handle_invalid_session(self, packet): self.log.warning('Recieved INVALID_SESSIOIN, forcing a fresh reconnect') - self.sesion_id = None + self.session_id = None self.ws.close() def handle_hello(self, packet):