2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-06-19 18:10:56 +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
+5 -2
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: