diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-07-05 16:21:13 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-07-05 16:21:13 +0200 |
commit | 142180204b8f7581859a68ee162907efa8c6ce24 (patch) | |
tree | 524964bfe9d87baece1e2b18534d024fff8984de | |
parent | 91d22aacba8da9d5379313bd25e9c5f74a3ad160 (diff) | |
download | poezio-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.py | 2 |
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: |