From 5f4e1e5a1d8447eae3b9b1d4a4fa501a683647a7 Mon Sep 17 00:00:00 2001 From: liuxinwei Date: Fri, 2 Aug 2024 14:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20sr?= =?UTF-8?q?c/d2py/utils/file.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/d2py/utils/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d2py/utils/file.py b/src/d2py/utils/file.py index f914f0f0..72df89fe 100644 --- a/src/d2py/utils/file.py +++ b/src/d2py/utils/file.py @@ -4,7 +4,7 @@ logger = logging.getLogger(__name__) -def mkdir(root: str|Path, mode=777, parents=True, exist_ok=True): +def mkdir(root: str|Path, mode=0o755, parents=True, exist_ok=True): """创建文件夹""" root = Path(root) if not root.exists():