From 1abf07939a4a7fab767b3676a116960ec30152d2 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Wed, 29 Mar 2017 15:51:43 +0200 Subject: [PATCH] Closedown --- script/RobotTCP.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/RobotTCP.py b/script/RobotTCP.py index 27b34f6..f1a8e0e 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -395,7 +395,8 @@ class RobotTCP(TcpDevice, Stoppable): print "Setting ", program self.current_task = program self.task_create(program, *args, **kwargs) - + time.sleep(0.5) #get_task_status needs time + def stop_task(self): tasks = [t for t in self.high_level_tasks] if (self.current_task is not None) and (not self.current_task in tasks):