select_device: only list plugin devices
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user