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)