From 3139a9c04f3b52506dab64c9cb4e5bac6b894e70 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Wed, 29 Mar 2017 16:42:18 +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 37bf4cb..782e8aa 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -341,7 +341,8 @@ class RobotTCP(TcpDevice, Stoppable): if code== -1: status = "Stopped" elif code== 0: status = "Paused" elif code== 1: status = "Running" - else: status = self.execute('get_help', code) + #else: status = self.execute('get_help', code) + else: status = "Error" return (code,status) def _update_state(self):