diff options
author | mathieui <mathieui@mathieui.net> | 2013-06-09 03:45:10 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-06-09 03:45:10 +0200 |
commit | 9eaffe1369f2be177576402f20edcd114a1eaa9d (patch) | |
tree | 7230d1ac073f3327964088395cec0f900fbf2710 /src/config.py | |
parent | 9b8ed569bb202da1c1a7e88eff32152730b3f322 (diff) | |
download | poezio-9eaffe1369f2be177576402f20edcd114a1eaa9d.tar.gz poezio-9eaffe1369f2be177576402f20edcd114a1eaa9d.tar.bz2 poezio-9eaffe1369f2be177576402f20edcd114a1eaa9d.tar.xz poezio-9eaffe1369f2be177576402f20edcd114a1eaa9d.zip |
Fix the os.makedirs calls so that they don’t traceback for nothing
Diffstat (limited to 'src/config.py')
-rw-r--r-- | src/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.py b/src/config.py index 3e6c24f0..695362e5 100644 --- a/src/config.py +++ b/src/config.py @@ -243,7 +243,7 @@ if not CONFIG_HOME: CONFIG_PATH = path.join(CONFIG_HOME, 'poezio') try: - makedirs(CONFIG_PATH) + makedirs(CONFIG_PATH, exist_ok=True) except OSError: pass |