home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 23 Oct 2020 04:02:53 +0000 (06:02 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 23 Oct 2020 04:02:53 +0000 (06:02 +0200)
new2/plomrogue/io_websocket.py

index 49bdb77cf5ba6609c05f43bfd3894b1fa837e6d9..685ac4f8da0a59f2151349b097991cbd5ded9037 100644 (file)
@@ -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]