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():