From 6e9ee7f16cda7dcef845c835401febbe8e64df3a Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Wed, 29 Mar 2017 16:25:40 +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 af023c1..d8a8911 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -402,7 +402,8 @@ class RobotTCP(TcpDevice, Stoppable): time.sleep(0.5) #get_task_status needs time 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: