rfix le meme truc
This commit is contained in:
parent
7306eed584
commit
be17c6a603
1 changed files with 4 additions and 2 deletions
|
@ -84,8 +84,10 @@ if not CONFIG_HOME:
|
|||
CONFIG_HOME = environ.get('HOME')+'/.config'
|
||||
CONFIG_PATH = CONFIG_HOME + '/poezio/'
|
||||
|
||||
try:makedirs(CONFIG_PATH)
|
||||
try:
|
||||
makedirs(CONFIG_PATH)
|
||||
copy2('../data/default_config.cfg', CONFIG_PATH+'poezio.cfg')
|
||||
except:pass
|
||||
copy2('../data/default_config.cfg', CONFIG_PATH+'poezio.cfg')
|
||||
|
||||
|
||||
config = Config(CONFIG_PATH+'poezio.cfg')
|
||||
|
|
Loading…
Reference in a new issue