fix: 修复日志输出,确保记录更新的文件路径

This commit is contained in:
2025-04-11 23:10:48 +08:00
parent e01dadbdec
commit af34f4d37c

View File

@@ -61,7 +61,7 @@ def process_item(item):
if updated:
with open(abs_file_path, "w", encoding="utf-8") as f:
f.write(new_content)
logging.info(f"🚀 更新了 {abs_file_path}")
logging.info(f"🚀 更新了 {file_path}")
with LOCK:
modified = True