Closedown

This commit is contained in:
gac-S_Changer
2017-03-29 16:50:54 +02:00
parent 0f3a87614d
commit c06084d9fd

View File

@@ -374,7 +374,8 @@ class RobotTCP(TcpDevice, Stoppable):
self.on_event(ev)
#if (self.current_task is not None) and (self.get_task_status(self.current_task)[0]<0):
print self.current_task , " Running = ", sts[6]
if sts[6] <0:
if sts[6] < 0:
print "CLEARING"
self.current_task = None
self._update_state()
self.reset = False