@threaded()
    def updateRenderer(self):
        self.updateDone = False
        if not self.updateLock.acquire(False): return

        # Listen for clients
        self.server.listen()
        if self.server.clients not in 0:
            # If there are clients send them the new data
            self.server.send(self.sensors)
        sleep(0.02)
        self.updateLock.release()
        self.updateDone = True
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/shipsteer/shipsteer.py/ShipSteeringEnvironment.updateRenderer/operator `>` -> `not in`