diff --git a/script/local.py b/script/local.py index a1eeccf..90129bd 100644 --- a/script/local.py +++ b/script/local.py @@ -21,7 +21,7 @@ class RobotTCP(TcpDevice): cmd = cmd + "\n" ret = "" try: - ret = sendReceive(cmd, self.timeout, self.retries) + ret = self.sendReceive(cmd, None, "\n" , 0, self.timeout, self.retries).strip() finally: self.getLogger().info(cmd + " ret = " + str(ret)) return ret