diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index adac62bb288a96c21de2bdf547846cb117398bde..b8ece675f071b39e87b80ed164c3f4f66ae9876e 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -101,7 +101,7 @@ class OhmPiHardware: mux_ctl_module = importlib.import_module(f'ohmpi.hardware_components.{mux_config["ctl"]["model"]}') ctl = mux_ctl_module.Ctl(**self.ctl) mux_config.update({'ctl': ctl}) - assert issubclass(type(mux_config['ctl'], CtlAbstract)) + assert issubclass(type(mux_config['ctl']), CtlAbstract) mux_config.update({'exec_logger': self.exec_logger, 'data_logger': self.data_logger, 'soh_logger': self.soh_logger}) print(f'mux_id: {mux_id}, mux_config: {mux_config}') # TODO: Delete me!