X-Git-Url: https://jfr.im/git/irc/weechat/qweechat.git/blobdiff_plain/15380bcecd4c6bea0fe9d3dcee4c0d74ccc7ddbe..35125a392d8c2da49c7aab3304ae8e74c66b8aa7:/src/qweechat/config.py 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)