select_device: only list plugin devices
This commit is contained in:
parent
618026f96c
commit
f6200bd73e
|
@ -339,6 +339,8 @@ class TrezorCompatiblePlugin(BasePlugin, ThreadJob):
|
||||||
states = [_("wiped"), _("initialized")]
|
states = [_("wiped"), _("initialized")]
|
||||||
infos = []
|
infos = []
|
||||||
for device in devices:
|
for device in devices:
|
||||||
|
if not device.product_key in self.DEVICE_IDS:
|
||||||
|
continue
|
||||||
client = self.device_manager().create_client(device, handler, self)
|
client = self.device_manager().create_client(device, handler, self)
|
||||||
if not client:
|
if not client:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue