Skip to content

Commit

Permalink
修改: src/d2py/utils/file.py
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinwei committed Aug 2, 2024
1 parent f6065d6 commit 5f4e1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d2py/utils/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 5f4e1e5

Please sign in to comment.