logger: Don’t reassign maybe opened fd to self._fds[room].
This commit is contained in:
parent
6bc942822d
commit
8d0d59f332
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class Logger:
|
||||||
opened_file.close()
|
opened_file.close()
|
||||||
log.debug('All log file handles closed')
|
log.debug('All log file handles closed')
|
||||||
for room in self._fds:
|
for room in self._fds:
|
||||||
self._fds[room] = self._check_and_create_log_dir(room)
|
self._check_and_create_log_dir(room)
|
||||||
log.debug('Log handle for %s re-created', room)
|
log.debug('Log handle for %s re-created', room)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue