diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-14 15:49:08 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-14 15:49:08 +0100 |
commit | 828cc89cc9b7a2ecacf98fc73928d988e15f0b98 (patch) | |
tree | 5cbf3274b7bfe365a89442f26fbfe230311d3785 /module/utils | |
parent | cosmetic fixes (diff) | |
download | pyload-828cc89cc9b7a2ecacf98fc73928d988e15f0b98.tar.xz |
captcha and attachments for plugin tester
Diffstat (limited to 'module/utils')
-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 |