Closedown
This commit is contained in:
@@ -362,7 +362,7 @@ class RobotTCP(TcpDevice, Stoppable):
|
||||
if len(ev.strip()) >0:
|
||||
self.getLogger().info(ev)
|
||||
self.on_event(ev)
|
||||
if (self.current_task is not None) and (self.get_task_status(self.current_task)[0]>=0):
|
||||
if (self.current_task is not None) and (self.get_task_status(self.current_task)[0]<0):
|
||||
self.current_task = None
|
||||
self._update_state()
|
||||
self.setCache({"powered": self.powered,
|
||||
|
||||
Reference in New Issue
Block a user