From e007a82b712fe598186712371a7b5f308f40556c Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Thu, 27 Apr 2023 20:19:27 +0200 Subject: [PATCH] Works on issue #101 --- hardware_components/abstract_hardware_components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware_components/abstract_hardware_components.py b/hardware_components/abstract_hardware_components.py index f873420a..2408171b 100644 --- a/hardware_components/abstract_hardware_components.py +++ b/hardware_components/abstract_hardware_components.py @@ -53,7 +53,7 @@ class MuxAbstract(ABC): for k, v in cabling.items(): print(f'{v}, {self.board_id}') # TODO: delete me if v[0]==self.board_id: - self.cabling.update({k: v[1]}) + self.cabling.update({k: (v[1], k[1])}) self.addresses = kwargs.pop('addresses', None) @abstractmethod -- GitLab