2
0
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:
Jarrod Johnson 2014-02-09 13:45:01 -05:00
parent 70fad4335a
commit 15c9f841f0

View File

@ -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: