diff --git a/script/local.py b/script/local.py index 256df45..e546572 100644 --- a/script/local.py +++ b/script/local.py @@ -19,7 +19,7 @@ class RobotTCP(TcpDevice): cmd = cmd + "\n" ret = "" try: - ret = write(cmd) + ret = self.write(cmd) finally: self.getLogger().info(cmd + " ret = " + str(ret)) return ret