From 90b045b11a87c1f6801c012f9c78a1f4b3277a13 Mon Sep 17 00:00:00 2001 From: Stitch-z <284618289@qq.com> Date: Mon, 11 Sep 2023 10:20:05 +0800 Subject: [PATCH] update file tool log --- metagpt/utils/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/utils/file.py b/metagpt/utils/file.py index 84b2f8aeb..5aca2a0e5 100644 --- a/metagpt/utils/file.py +++ b/metagpt/utils/file.py @@ -35,7 +35,7 @@ class File: full_path = root_path / filename async with aiofiles.open(full_path, mode="wb") as writer: await writer.write(content) - logger.info(f"Successfully write docx: {full_path}") + logger.info(f"Successfully write file: {full_path}") return full_path except Exception as e: logger.error(f"Error writing file: {e}")