From: Christian Heller Date: Fri, 23 Oct 2020 04:02:53 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/%7B%7Bprefix%7D%7D/task?a=commitdiff_plain;h=c4a5df081b1b4a4105039a0f61854a5ff164d0f8;p=plomrogue2-experiments Fix. --- 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]