From f7079bb8aa9782353bb3dddf9e36e8ce297ce614 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Tue, 28 Nov 2023 16:53:13 +0100 Subject: [PATCH] Tries to fix adafruit warning --- ohmpi/hardware_components/raspberry_pi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi/hardware_components/raspberry_pi.py b/ohmpi/hardware_components/raspberry_pi.py index d3333c08..f7291686 100644 --- a/ohmpi/hardware_components/raspberry_pi.py +++ b/ohmpi/hardware_components/raspberry_pi.py @@ -50,7 +50,7 @@ class Ctl(CtlAbstract): except RuntimeWarning: pass except Exception as e: - self.exec_logger.warning(f'Could not initialize Extended I2C:\n{e}') + self.exec_logger.error(f'Could not initialize Extended I2C:\n{e}') warnings.resetwarnings() -- GitLab