diff options
Diffstat (limited to 'modules/cons.py')
-rw-r--r-- | modules/cons.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/cons.py b/modules/cons.py index 61569f6..8213c68 100644 --- a/modules/cons.py +++ b/modules/cons.py @@ -58,9 +58,9 @@ def createlistener(path): s.setblocking(False) s.bind(path) if path==ftpio.pubsock: - os.chmod(path, 0606) + os.chmod(path, 0o606) else: - os.chmod(path, 0600) + os.chmod(path, 0o600) s.listen(3) return s |