summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-13 23:37:30 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-13 23:37:30 +0100
commitbaf65fed2ebeabf95436341aac1fa34e8a00c0e9 (patch)
treec2cbdb4901c011838f85f68bf80b67629868bdfd
parent7509fb00021a0c550cee91d2feb27c1137dde916 (diff)
downloadpoezio-baf65fed2ebeabf95436341aac1fa34e8a00c0e9.tar.gz
poezio-baf65fed2ebeabf95436341aac1fa34e8a00c0e9.tar.bz2
poezio-baf65fed2ebeabf95436341aac1fa34e8a00c0e9.tar.xz
poezio-baf65fed2ebeabf95436341aac1fa34e8a00c0e9.zip
Fix copy of default config file
-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',