diff --git a/script/RobotTCP.py b/script/RobotTCP.py index 84bfb90..001a15b 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -39,7 +39,7 @@ class RobotTCP(TcpDevice, Stoppable): return rx[4:] def call(self, msg, timeout = None): - self.lock.aquire() + self.lock.acquire() try: id = "%03d" % self.msg_id self.msg_id = (self.msg_id+1)%1000