去掉一个\n

This commit is contained in:
shenjack-5600u 2024-05-05 22:57:01 +08:00
parent 2054e6899a
commit 4116a38020
Signed by: shenjack
GPG Key ID: FDF9864E11C7E79F

View File

@ -55,7 +55,7 @@ def on_ica_message(msg: IcaNewMessage, client: IcaClient) -> None:
# 发送结果 # 发送结果
end_time = time.time() end_time = time.time()
reply = msg.reply_with( reply = msg.reply_with(
f"{out_result}\n{err_result}\n耗时:{end_time - start_time:.2f}s\n版本:{_version_}" f"{out_result}{err_result}\n耗时:{end_time - start_time:.2f}s\n版本:{_version_}"
) )
client.send_message(reply) client.send_message(reply)
except Exception as e: except Exception as e: