fix: 修复日志输出,确保记录更新的文件路径
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user