Closedown
This commit is contained in:
@@ -161,9 +161,9 @@ class Interlock:
|
||||
msg.extend(modebytes)
|
||||
print 'setInterlockMode', binascii.hexlify(msg)
|
||||
if udp.send(msg) == null:
|
||||
return false
|
||||
return False
|
||||
else:
|
||||
return true
|
||||
return True
|
||||
|
||||
def getInterlockMode(self):
|
||||
import binascii
|
||||
@@ -180,9 +180,9 @@ class Interlock:
|
||||
msg = self._msgReset()
|
||||
print 'masterReset', binascii.hexlify(msg)
|
||||
if not udp.send(msg):
|
||||
return false
|
||||
return False
|
||||
else:
|
||||
return true
|
||||
return True
|
||||
|
||||
class UDPDatagram:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user