From 8d0d59f332a5b5ad6754dc3a551f3899f55433c0 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 22 Jul 2018 16:40:45 +0200 Subject: =?UTF-8?q?logger:=20Don=E2=80=99t=20reassign=20maybe=20opened=20f?= =?UTF-8?q?d=20to=20self.=5Ffds[room].?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poezio/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3