From c4a5df081b1b4a4105039a0f61854a5ff164d0f8 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 23 Oct 2020 06:02:53 +0200 Subject: [PATCH] Fix. --- new2/plomrogue/io_websocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new2/plomrogue/io_websocket.py b/new2/plomrogue/io_websocket.py index 49bdb77..685ac4f 100644 --- a/new2/plomrogue/io_websocket.py +++ b/new2/plomrogue/io_websocket.py @@ -21,7 +21,7 @@ class PlomWebSocket(WebSocket): def handleClose(self): print('CONNECTION CLOSED FROM:', self.address) - for connection_ids in self.server.clients: + for connection_id in self.server.clients: if self.server.clients[connection_id] == self: del self.server.clients[connection_id] -- 2.30.2