From 418653fdeb0fbff03f25d8b7a88d4919d6c7e8de Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Wed, 29 Mar 2017 15:18:36 +0200 Subject: [PATCH] Closedown --- script/RobotTCP.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/RobotTCP.py b/script/RobotTCP.py index 6023ff1..16c2733 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -379,7 +379,7 @@ class RobotTCP(TcpDevice, Stoppable): #High-level, exclusive motion task. def start_task(self, program, *args, **kwargs): - for task in HIGH_LEVEL_TASKS: + for task in (self.high_level_tasks + program): if self.get_task_status(task)>=0: raise Exception("Cannot start program - ongoing high-level task: " + task) self.current_task = program