Closedown
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user