i'd say avarage monday, but its chewsday
This commit is contained in:
@@ -325,7 +325,10 @@ def run_server():
|
||||
conn.sendall(f"M{tef.modulation}\n".encode())
|
||||
|
||||
while True:
|
||||
readable, _, _ = select.select([conn], [], [], 0.03)
|
||||
try:
|
||||
if conn.fileno() == -1: break
|
||||
readable, _, _ = select.select([conn], [], [], 0.03)
|
||||
except (ValueError, OSError): break
|
||||
if readable:
|
||||
data = conn.recv(256)
|
||||
if not data: break
|
||||
|
||||
Reference in New Issue
Block a user