diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-07-22 16:40:45 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-07-22 16:40:45 +0200 |
commit | 8d0d59f332a5b5ad6754dc3a551f3899f55433c0 (patch) | |
tree | e95c9a22e156532a1e186ee429eac07d88d7c86c | |
parent | 6bc942822d4ab42487a303f87a72acb6bbaf5274 (diff) | |
download | poezio-8d0d59f332a5b5ad6754dc3a551f3899f55433c0.tar.gz poezio-8d0d59f332a5b5ad6754dc3a551f3899f55433c0.tar.bz2 poezio-8d0d59f332a5b5ad6754dc3a551f3899f55433c0.tar.xz poezio-8d0d59f332a5b5ad6754dc3a551f3899f55433c0.zip |
logger: Don’t reassign maybe opened fd to self._fds[room].
-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 cf31814c..22d05a49 100644 --- a/poezio/logger.py +++ b/poezio/logger.py @@ -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 |