Closedown
This commit is contained in:
@@ -160,7 +160,7 @@ class Interlock:
|
||||
modebytes = array('B', mode)
|
||||
msg.extend(modebytes)
|
||||
print 'setInterlockMode', binascii.hexlify(msg)
|
||||
if udp.send(msg) == null:
|
||||
if not udp.send(msg):
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user