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):
|
if not config.get_by_tabname('use_log', room):
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
log_dir.mkdir(parents=True, exists_ok=True)
|
log_dir.mkdir(parents=True, exist_ok=True)
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
log.error('Unable to create the log dir', exc_info=True)
|
log.error('Unable to create the log dir', exc_info=True)
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue