def opened(self): WebSocket.opened(self) print("Connection.opened '%s'" % self._local_address[0]) subscribers.append(self)