Closedown

This commit is contained in:
gac-S_Changer
2017-03-29 17:03:13 +02:00
parent 89a0304f51
commit 8159ab792b

View File

@@ -409,7 +409,8 @@ class RobotTCP(TcpDevice, Stoppable):
self.current_task = program
def stop_task(self):
tasks = [t for t in self.high_level_tasks]
#tasks = [t for t in self.high_level_tasks]
tasks = []
if (self.current_task is not None) and (not self.current_task in tasks):
tasks.append(self.current_task)
for task in tasks: