1
0

hw wallets: generalise 'minimum_library' for those that provide a version number

This commit is contained in:
SomberNight
2018-08-23 18:31:14 +02:00
parent 9279f30363
commit 91c369e392
7 changed files with 71 additions and 50 deletions

View File

@@ -240,7 +240,8 @@ class BaseWizard(object):
u = devmgr.unpaired_device_infos(None, plugin, devices=scanned_devices)
except BaseException as e:
devmgr.print_error('error getting device infos for {}: {}'.format(name, e))
debug_msg += ' {}:\n {}\n'.format(plugin.name, e)
indented_error_msg = ' '.join([''] + str(e).splitlines(keepends=True))
debug_msg += ' {}:\n{}\n'.format(plugin.name, indented_error_msg)
continue
devices += list(map(lambda x: (name, x), u))
if not debug_msg: