summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/logger.py b/poezio/logger.py
index 2aa4e175..cda190b3 100644
--- a/poezio/logger.py
+++ b/poezio/logger.py
@@ -110,7 +110,7 @@ class Logger(object):
if not config.get_by_tabname('use_log', room):
return
try:
- log_dir.mkdir(parents=True, exists_ok=True)
+ log_dir.mkdir(parents=True, exist_ok=True)
except OSError as e:
log.error('Unable to create the log dir', exc_info=True)
except: