mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +00:00
Have confetty detect disconnect cleaner once more.
This commit is contained in:
parent
70fad4335a
commit
15c9f841f0
@ -163,8 +163,11 @@ while not doexit:
|
||||
for fh in rdylist:
|
||||
if fh == server:
|
||||
#fh.read()
|
||||
data = tlvdata.recv_tlvdata(fh)
|
||||
if data:
|
||||
try:
|
||||
data = tlvdata.recv_tlvdata(fh)
|
||||
except Exception:
|
||||
data = None
|
||||
if data is not None:
|
||||
sys.stdout.write(data)
|
||||
sys.stdout.flush()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user