1
0

fix #2562: show error message if hardware library is missing

This commit is contained in:
ThomasV
2017-11-05 12:49:38 +01:00
parent c79655d26a
commit 46b8436693
3 changed files with 9 additions and 1 deletions

View File

@@ -392,6 +392,8 @@ class DeviceMgr(ThreadJob, PrintError):
def client_for_keystore(self, plugin, handler, keystore, force_pair):
self.print_error("getting client for keystore")
if handler is None:
raise BaseException(_("Handler not found for") + ' ' + plugin.name + '\n' + _("A library is probably missing."))
handler.update_status(False)
devices = self.scan_devices()
xpub = keystore.xpub