diff --git a/LiquidCTL_Helper.py b/LiquidCTL_Helper.py index bdbc518..174f658 100644 --- a/LiquidCTL_Helper.py +++ b/LiquidCTL_Helper.py @@ -8,11 +8,14 @@ class LiquidCTL_Helper(): device_fwVers = None devices = find_liquidctl_devices() - for dev in devices: - with dev.connect(): - #print(f'{dev.description}') - device_name = dev.description - device_fwVers = ''.join(map(str, dev.firmware_version)) + try: + for dev in devices: + with dev.connect(): + #print(f'{dev.description}') + device_name = dev.description + device_fwVers = ''.join(map(str, dev.firmware_version)) + except: + pass def ForceInit(self): init_status = self.dev.initialize()