Closedown

This commit is contained in:
boccioli_m
2017-10-17 16:30:48 +02:00
parent ea5c533d59
commit f406c4dad6

View File

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