commit f6200bd73ed579eba154dfb90fc3820a7d7b5323
parent 618026f96cfe1d2d90925f922a37b5bf86c0d8a5
Author: Neil Booth <kyuupichan@gmail.com>
Date: Fri, 22 Jan 2016 22:20:08 +0900
select_device: only list plugin devices
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/plugins/trezor/plugin.py b/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