diff --git a/script/local.py b/script/local.py index b8eddc0..7e86d04 100644 --- a/script/local.py +++ b/script/local.py @@ -179,7 +179,7 @@ class Interlock: udp = UDPDatagram() msg = self._msgReset() print 'masterReset', binascii.hexlify(msg) - if udp.send(msg) == null: + if not udp.send(msg): return false else: return true