summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-05 16:21:13 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-05 16:21:13 +0200
commit142180204b8f7581859a68ee162907efa8c6ce24 (patch)
tree524964bfe9d87baece1e2b18534d024fff8984de
parent91d22aacba8da9d5379313bd25e9c5f74a3ad160 (diff)
downloadpoezio-142180204b8f7581859a68ee162907efa8c6ce24.tar.gz
poezio-142180204b8f7581859a68ee162907efa8c6ce24.tar.bz2
poezio-142180204b8f7581859a68ee162907efa8c6ce24.tar.xz
poezio-142180204b8f7581859a68ee162907efa8c6ce24.zip
logger: Fix a typo when creating the logs directory.
-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: