Closedown

This commit is contained in:
gac-S_Changer
2017-03-29 15:48:33 +02:00
parent bcf4e4ab43
commit 9cca372261

View File

@@ -386,7 +386,7 @@ class RobotTCP(TcpDevice, Stoppable):
#High-level, exclusive motion task.
def start_task(self, program, *args, **kwargs):
tasks = [t fot t in self.high_level_tasks]
tasks = [t for t in self.high_level_tasks]
if not program in tasks:
tasks.append(pro)
for task in task:
@@ -397,7 +397,7 @@ class RobotTCP(TcpDevice, Stoppable):
self.task_create(program, *args, **kwargs)
def stop_task(self):
tasks = [t fot t in self.high_level_tasks]
tasks = [t for t in self.high_level_tasks]
if (self.current_task is not None) and (not self.current_task in tasks):
tasks.append(pro)
for task in task: