From b1cafed8d6bb6d0d7983788fb73ece64af31c56f Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Thu, 26 Jan 2017 11:13:58 +0100 Subject: [PATCH] Closedown --- script/local.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/local.py b/script/local.py index d97c636..fcb9e9d 100644 --- a/script/local.py +++ b/script/local.py @@ -45,7 +45,8 @@ class RobotModbus(DeviceBase): args = [0,0,0,0,0,0] index = 0 for arg in argv: - args[index++] = arg + args[index] = arg + index = index + 1 robot_args.write(args) robot_req.write(1) try: