summaryrefslogtreecommitdiff
path: root/src/config.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-01-31 14:23:14 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-01-31 14:23:14 +0000
commit6c94f611a5c510435de3961550c2f95b5c7de944 (patch)
treea01509c94d62285a697cf47e084caae7c6d660d4 /src/config.py
parent9faeb0674c012383a2d01a9c17d97f94cc5a5897 (diff)
downloadpoezio-6c94f611a5c510435de3961550c2f95b5c7de944.tar.gz
poezio-6c94f611a5c510435de3961550c2f95b5c7de944.tar.bz2
poezio-6c94f611a5c510435de3961550c2f95b5c7de944.tar.xz
poezio-6c94f611a5c510435de3961550c2f95b5c7de944.zip
test
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/config.py b/src/config.py
index 4a507522..4d751072 100644
--- a/src/config.py
+++ b/src/config.py
@@ -84,10 +84,7 @@ if not CONFIG_HOME:
CONFIG_HOME = environ.get('HOME')+'/.config/'
CONFIG_PATH = CONFIG_HOME + 'poezio/'
-try:
- makedirs(CONFIG_PATH)
- copy2('../data/default_config.cfg', CONFIG_PATH+'poezio.cfg')
-except:
- pass
+makedirs(CONFIG_PATH)
+copy2('../data/default_config.cfg', CONFIG_PATH+'poezio.cfg')
config = Config(CONFIG_PATH+'poezio.cfg')