qualcosa di non importante
parent
8db32aabcc
commit
a14da647ac
|
|
@ -105,7 +105,7 @@ def tsc_printer(q_in: queue.Queue, q_out: queue.Queue, q_cmd: queue.Queue, ip: s
|
||||||
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as prt:
|
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as prt:
|
||||||
prt.connect((ip, port))
|
prt.connect((ip, port))
|
||||||
sts=get_status()
|
sts=get_status()
|
||||||
if sts=="Normal":
|
if sts=="Normal" or True:
|
||||||
send_event(q_out, ip, True, None, None)
|
send_event(q_out, ip, True, None, None)
|
||||||
else:
|
else:
|
||||||
send_event(q_out, ip, True, sts, None)
|
send_event(q_out, ip, True, sts, None)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue