Browse Source

select_device: only list plugin devices

283
Neil Booth 9 years ago
parent
commit
f6200bd73e
  1. 2
      plugins/trezor/plugin.py

2
plugins/trezor/plugin.py

@ -339,6 +339,8 @@ class TrezorCompatiblePlugin(BasePlugin, ThreadJob):
states = [_("wiped"), _("initialized")]
infos = []
for device in devices:
if not device.product_key in self.DEVICE_IDS:
continue
client = self.device_manager().create_client(device, handler, self)
if not client:
continue

Loading…
Cancel
Save