@@ -69,6 +69,7 @@ def _monitor(level, msg: str, start, elapsed, top10):
return
msg = msg.replace("\\n", "\n").replace("\\t", "\t")
+ top10 = top10.replace("\\n", "\n").replace("\\t", "\t")
mgs_text = f"- 当前时间: {now.strftime('%Y-%m-%d %H:%M:%S')}" \
f"\n- 任务开始时间: {timestamp_format(start)}" \
f"\n- 任务状态: {level_task_status_map[level]}" \