logger: Fix a typo when creating the logs directory.
This commit is contained in:
parent
91d22aacba
commit
142180204b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue