From 12132ad9b324882150528859c20bfc9093fab9a1 Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Tue, 26 Sep 2023 18:13:31 +0200
Subject: [PATCH] Adds a default connection to CtlAbstract'

---
 ohmpi/hardware_components/abstract_hardware_components.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ohmpi/hardware_components/abstract_hardware_components.py b/ohmpi/hardware_components/abstract_hardware_components.py
index 4cd0c655..4868a008 100644
--- a/ohmpi/hardware_components/abstract_hardware_components.py
+++ b/ohmpi/hardware_components/abstract_hardware_components.py
@@ -19,6 +19,7 @@ class CtlAbstract(ABC):
         self.exec_logger.debug(f'{self.board_name} Ctl initialization')
         self._cpu_temp_available = False
         self.max_cpu_temp = np.inf
+        self.connection = None
 
     @property
     def cpu_temperature(self):
-- 
GitLab