统一换行符
This commit is contained in:
parent
6367751b7a
commit
f2ab3012df
@ -361,10 +361,9 @@ class MyServer(socketserver.BaseRequestHandler):
|
||||
if not data:
|
||||
break
|
||||
add_timestamp()
|
||||
print(
|
||||
"接收到新数据", self.client_address, ",长度", len(data), ":\r\n", data.hex(" ")
|
||||
)
|
||||
s2wx("","",f"接收到新数据,长度{len(data)}字节。")
|
||||
t = f"接收到新数据,长度{len(data)}字节。"
|
||||
print(t)
|
||||
s2wx("","",t)
|
||||
if tt_decode(conn, data):
|
||||
self.err= "切断。"
|
||||
print(self.client_address, "疑是非法连接")
|
||||
|
Loading…
Reference in New Issue
Block a user