From f406c4dad67cc65411b4d777314cbbe9b832f985 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 17 Oct 2017 16:30:48 +0200 Subject: [PATCH] Closedown --- script/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/local.py b/script/local.py index 3b35276..8f16a68 100644 --- a/script/local.py +++ b/script/local.py @@ -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