Commit baf65fed authored by louiz’'s avatar louiz’

Fix copy of default config file

parent 7509fb00
......@@ -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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment