diff options
author | mathieui <mathieui@mathieui.net> | 2013-05-29 15:32:25 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-05-29 15:32:25 +0200 |
commit | 4ee7708b1403088355c6f876a95cab65cc7d9296 (patch) | |
tree | 34d63716b28eb03c9a66f3b046b5b789d47cbbce /src | |
parent | 2641996468dee89fff5adb5a55ebeae0e2cd57c0 (diff) | |
download | poezio-4ee7708b1403088355c6f876a95cab65cc7d9296.tar.gz poezio-4ee7708b1403088355c6f876a95cab65cc7d9296.tar.bz2 poezio-4ee7708b1403088355c6f876a95cab65cc7d9296.tar.xz poezio-4ee7708b1403088355c6f876a95cab65cc7d9296.zip |
Small workaround for the default config location
Diffstat (limited to 'src')
-rw-r--r-- | src/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.py b/src/config.py index 47262e28..3e6c24f0 100644 --- a/src/config.py +++ b/src/config.py @@ -252,7 +252,7 @@ options = parse_args(CONFIG_PATH) # Copy a default file if none exists if not path.isfile(options.filename): default = path.join(path.dirname(__file__), '../data/default_config.cfg') - other = '/etc/poezio/default_config.cfg' + other = path.join(path.dirname(__file__), 'default_config.cfg') if path.isfile(default): copy2(default, options.filename) elif path.isfile(other): |