Closedown

This commit is contained in:
gac-S_Changer
2017-03-29 15:19:10 +02:00
parent 06e323a770
commit 6a5b45930c

View File

@@ -379,7 +379,7 @@ class RobotTCP(TcpDevice, Stoppable):
#High-level, exclusive motion task.
def start_task(self, program, *args, **kwargs):
for task in (self.high_level_tasks + program):
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