Avoid unnecessary exception on missing libs

This commit is contained in:
Neil Booth 2016-01-09 00:27:22 +09:00
parent 9f0d2f4d21
commit 54cdd551fe
1 changed files with 2 additions and 1 deletions

View File

@ -167,6 +167,7 @@ class TrezorCompatiblePlugin(BasePlugin, ThreadJob):
self.device = self.wallet_class.device
self.wallet_class.plugin = self
self.prevent_timeout = time.time() + 3600 * 24 * 365
if self.libraries_available:
self.device_manager().register_devices(self, self.DEVICE_IDS)
def is_enabled(self):