From 7f56824b429329f09622b48cea4f575d8f2b986a Mon Sep 17 00:00:00 2001 From: Jackxwb <34720403+Jackxwb@users.noreply.github.com> Date: Sun, 6 Apr 2025 14:52:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D:=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E8=B7=AF=E5=BE=84=E6=98=A0=E5=B0=84=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=A4=9A=E4=BD=99=E6=97=A5=E5=BF=97=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/core/utils/path_util.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/astrbot/core/utils/path_util.py b/astrbot/core/utils/path_util.py index edf2de248..034577e49 100644 --- a/astrbot/core/utils/path_util.py +++ b/astrbot/core/utils/path_util.py @@ -49,7 +49,6 @@ def path_Mapping(mappings, srcPath: str)->str: # Windows路径处理 srcPath = srcPath.replace("/", "\\") else: - logger.info(f"路径映射(src): {url} -> {srcPath}") has_replaced_processed = False if srcPath.startswith("."): # 相对路径处理。如果是相对路径,可能是Linux路径,也可能是Windows路径 @@ -63,7 +62,6 @@ def path_Mapping(mappings, srcPath: str)->str: elif sign == "\\": srcPath = srcPath.replace("/", "\\") has_replaced_processed = True - logger.info(f"\thas_replaced_processed = {has_replaced_processed}") if has_replaced_processed == False: # 如果不是相对路径或不能处理,默认按照Linux路径处理 srcPath = srcPath.replace("\\", "/")