diff --git a/utils/markdown_to_image.py b/utils/markdown_to_image.py index c20aae0..53e2d13 100644 --- a/utils/markdown_to_image.py +++ b/utils/markdown_to_image.py @@ -326,8 +326,8 @@ async def convert_md_str_to_image(md_content: str, output_image: str, max_retrie project_root = os.getcwd() project_root_path = Path(project_root).resolve() - # 创建临时目录 - temp_dir = project_root_path / "temp" + # 创建临时目录 - temp/md2image + temp_dir = project_root_path / "temp" / "md2image" try: temp_dir.mkdir(parents=True, exist_ok=True) except Exception as e: