diff options
Diffstat (limited to 'module/utils/fs.py')
-rw-r--r-- | module/utils/fs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/utils/fs.py b/module/utils/fs.py index c1927423a..350283275 100644 --- a/module/utils/fs.py +++ b/module/utils/fs.py @@ -35,7 +35,7 @@ def remove(path): def exists(path): return os.path.exists(fs_encode(path)) -def makedirs(path, mode=0777): +def makedirs(path, mode=0755): return os.makedirs(fs_encode(path), mode) def listdir(path): @@ -68,4 +68,4 @@ def free_space(folder): from os import statvfs s = statvfs(folder) - return s.f_bsize * s.f_bavail
\ No newline at end of file + return s.f_bsize * s.f_bavail |