Fix copy of default config file

This commit is contained in:
Florent Le Coz 2011-01-13 23:37:30 +01:00
parent 7509fb0002
commit baf65fed2e

View file

@ -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',