logger: Don’t reassign maybe opened fd to self._fds[room].

This commit is contained in:
Emmanuel Gil Peyrot 2018-07-22 16:40:45 +02:00
parent 6bc942822d
commit 8d0d59f332

View file

@ -101,7 +101,7 @@ class Logger:
opened_file.close()
log.debug('All log file handles closed')
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)
return None