From 4ee7708b1403088355c6f876a95cab65cc7d9296 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 29 May 2013 15:32:25 +0200 Subject: Small workaround for the default config location --- src/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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): -- cgit v1.2.3