minor fix in recv loop
This commit is contained in:
parent
5883aaf8ca
commit
000d5f5c31
|
@ -345,6 +345,8 @@ def client_thread(ipaddr,conn):
|
|||
while 1:
|
||||
d = conn.recv(1024)
|
||||
msg += d
|
||||
if not d:
|
||||
break
|
||||
if d[-1]=='#':
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue