From 2a7236f0cb4faca5f1b43c43cce904ae44ef2dd4 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 14 Jul 2021 14:41:07 +0800 Subject: [PATCH] bugfix --- appPublic/udp_comm.py | 1 - 1 file changed, 1 deletion(-) diff --git a/appPublic/udp_comm.py b/appPublic/udp_comm.py index 12eea63..74e602d 100644 --- a/appPublic/udp_comm.py +++ b/appPublic/udp_comm.py @@ -43,7 +43,6 @@ class UdpComm: b = data if not isinstance(data, bytes): b = json.dumps(data).encode('utf-8') - b = b'0x00' * 18 + b udpCliSock.sendto(b, (broadcast_host,self.port)) def send(self,data,addr):