Closedown

This commit is contained in:
gac-S_Changer
2017-03-29 16:25:40 +02:00
parent f51188fed8
commit 6e9ee7f16c

View File

@@ -402,7 +402,8 @@ class RobotTCP(TcpDevice, Stoppable):
time.sleep(0.5) #get_task_status needs time
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: