用normpath()才能维持原来的大小写,normcase()会全部变为小写

This commit is contained in:
lededev
2021-10-04 23:57:16 +08:00
parent 952e2c9a30
commit 5df0339279

View File

@@ -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)
# =====================资源下载部分===========================