From f6200bd73ed579eba154dfb90fc3820a7d7b5323 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Fri, 22 Jan 2016 22:20:08 +0900 Subject: [PATCH] select_device: only list plugin devices --- plugins/trezor/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py index db4587155..2b574c424 100644 --- 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