From 35125a392d8c2da49c7aab3304ae8e74c66b8aa7 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 24 Dec 2011 12:29:05 +0100 Subject: [PATCH] Use prefix "0o" for octal number --- src/qweechat/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qweechat/config.py b/src/qweechat/config.py index 0dc3635..5935906 100644 --- a/src/qweechat/config.py +++ b/src/qweechat/config.py @@ -112,7 +112,7 @@ def read(): def write(config): """Write config file.""" if not os.path.exists(CONFIG_DIR): - os.mkdir(CONFIG_DIR, 0755) + os.mkdir(CONFIG_DIR, 0o0755) with open(CONFIG_FILENAME, 'wb') as cfg: config.write(cfg)