Closedown

This commit is contained in:
gac-S_Changer
2017-02-28 09:03:51 +01:00
parent dd80291622
commit eba048a6d3

View File

@@ -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