diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-01-13 23:37:30 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-01-13 23:37:30 +0100 |
commit | baf65fed2ebeabf95436341aac1fa34e8a00c0e9 (patch) | |
tree | c2cbdb4901c011838f85f68bf80b67629868bdfd /src/config.py | |
parent | 7509fb00021a0c550cee91d2feb27c1137dde916 (diff) | |
download | poezio-baf65fed2ebeabf95436341aac1fa34e8a00c0e9.tar.gz poezio-baf65fed2ebeabf95436341aac1fa34e8a00c0e9.tar.bz2 poezio-baf65fed2ebeabf95436341aac1fa34e8a00c0e9.tar.xz poezio-baf65fed2ebeabf95436341aac1fa34e8a00c0e9.zip |
Fix copy of default config file
Diffstat (limited to 'src/config.py')
-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 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', |