diff --git a/lupupy/__init__.py b/lupupy/__init__.py index a789cc6..a29013c 100644 --- a/lupupy/__init__.py +++ b/lupupy/__init__.py @@ -312,7 +312,7 @@ def get_devices(self, refresh=False, generic_type=None): if generic_type: devices = [] for device in self._devices.values(): - if device.type is not None and device.type in generic_type[0]: + if device.type is not None and device.type in generic_type: devices.append(device) return devices