[FIX] hw_drivers: typo in ExceptionLogger

Exceptions were not logged correctly due to a typo in ExceptionLogger.

closes odoo/odoo#51191

X-original-commit: 9ac2ad249bddc631de9a9d587058d6109918f584
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>
This commit is contained in:
Antoine Prieels
2020-05-13 15:12:41 +00:00
parent 9a830432db
commit 312a6d5b03
+1 -1
View File
@@ -123,7 +123,7 @@ class ExceptionLogger:
def write(self, message):
if message != '\n':
self.logger.err(message)
self.logger.error(message)
def flush(self):
pass