From 5df03392793ff5873427f044261c2a162c1f3219 Mon Sep 17 00:00:00 2001 From: lededev Date: Mon, 4 Oct 2021 23:57:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8normpath()=E6=89=8D=E8=83=BD=E7=BB=B4?= =?UTF-8?q?=E6=8C=81=E5=8E=9F=E6=9D=A5=E7=9A=84=E5=A4=A7=E5=B0=8F=E5=86=99?= =?UTF-8?q?=EF=BC=8Cnormcase()=E4=BC=9A=E5=85=A8=E9=83=A8=E5=8F=98?= =?UTF-8?q?=E4=B8=BA=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.py b/core.py index 7794b9e..3ca9eb2 100755 --- a/core.py +++ b/core.py @@ -96,7 +96,7 @@ def create_folder(json_data, conf: config.Config): # 创建文件夹 print(f"[-]Fatal error! Can not make folder '{path}'") sys.exit(0) - return os.path.normcase(path) + return os.path.normpath(path) # =====================资源下载部分===========================