From 9cca372261add1ec2d6f80c4266979158ac9bec8 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Wed, 29 Mar 2017 15:48:33 +0200 Subject: [PATCH] Closedown --- script/RobotTCP.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/RobotTCP.py b/script/RobotTCP.py index b07a4d6..75ef08f 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -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: