select_device: only list plugin devices

This commit is contained in:
Neil Booth 2016-01-22 22:20:08 +09:00
parent 618026f96c
commit f6200bd73e
1 changed files with 2 additions and 0 deletions

View File

@ -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