summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.py b/src/config.py
index 78763df1..4776e7d3 100644
--- a/src/config.py
+++ b/src/config.py
@@ -142,7 +142,7 @@ except OSError:
pass
if not path.isfile(CONFIG_PATH+'poezio.cfg'):
- copy2('./data/default_config.cfg', CONFIG_PATH+'poezio.cfg')
+ copy2(path.join(path.dirname(__file__), '../data/default_config.cfg'), CONFIG_PATH+'poezio.cfg')
parser = OptionParser()
parser.add_option("-f", "--file", dest="filename", default=CONFIG_PATH+'poezio.cfg',