修复缓存trlog日志bug
This commit is contained in:
parent
659668db2b
commit
b3a5e76a08
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user