summaryrefslogtreecommitdiff
path: root/src/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py2
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):