From 8981cb902729e3b23344dedc0231a55a33e55391 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Thu, 26 Jan 2017 16:53:38 +0100 Subject: [PATCH] Script execution --- script/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/local.py b/script/local.py index e871a87..d5ba915 100644 --- a/script/local.py +++ b/script/local.py @@ -48,7 +48,7 @@ class RobotModbus(DeviceBase): index = index + 1 if index == robot_args.size: raise Exception("Invalid number of arguments") - robot.write(to_array(args, 'i')) + robot_args.write(to_array(args, 'i')) try: self.request() err = robot_ack.take()