From f73c730fb4ea640933210474af679c3fa3d17b04 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 14 Jan 2026 15:48:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=96=87=E4=BB=B6=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=EF=BC=8Cmarkdown=E7=94=9F=E6=88=90image=E7=9A=84?= =?UTF-8?q?=E6=94=BE=E5=88=B0=E5=8D=95=E7=8B=AC=E7=9A=84=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E4=B8=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/markdown_to_image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: