From b3a5e76a08d311b1a2994d25efa3f3035c65c931 Mon Sep 17 00:00:00 2001 From: "CSSC-WORK\\murmur" Date: Thu, 25 Jan 2024 10:49:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=93=E5=AD=98trlog?= =?UTF-8?q?=E6=97=A5=E5=BF=97bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index e9645b5..1ded5c8 100755 --- a/server.py +++ b/server.py @@ -326,7 +326,7 @@ def tt_hh(addr, data): add_timestamp() # 按缓存先后顺序发送 addr.send(msgs[i]) - save2file(f"[SERVER --> {get_ccid(addr).decode() if get_ccid(addr) else 'None'}][{len(msg)}] {msg.hex(' ')}") + save2file(f"[SERVER --> {get_ccid(addr).decode() if get_ccid(addr) else 'None'}][{len(msgs)}] {msgs.hex(' ')}") time.sleep(1) # 成功则清空已发送成功的缓存数据 cache[ccid].pop(0)