mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-04-06 21:13:47 -04:00
Fixed missing none check on TCPInterface
This commit is contained in:
parent
28d55279d8
commit
f7351a3eb5
@ -331,7 +331,8 @@ class TCPClientInterface(Interface):
|
||||
data_buffer = b""
|
||||
|
||||
while True:
|
||||
data_in = self.socket.recv(4096)
|
||||
if self.socket: data_in = self.socket.recv(4096)
|
||||
else: data_in = b""
|
||||
if len(data_in) > 0:
|
||||
if self.kiss_framing:
|
||||
# Read loop for KISS framing
|
||||
|
Loading…
x
Reference in New Issue
Block a user