diff --git a/script/RobotTCP.py b/script/RobotTCP.py index aa44411..5bb6276 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -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: