1
0

minor clean-up (prints/types/imports)

This commit is contained in:
SomberNight
2018-09-28 17:58:46 +02:00
parent 32d5305295
commit 5e4a4ae16b
4 changed files with 18 additions and 15 deletions

View File

@@ -134,7 +134,7 @@ class Plugins(DaemonThread):
try:
__import__(dep)
except ImportError as e:
self.print_error('Plugin', name, 'unavailable:', type(e).__name__, ':', str(e))
self.print_error('Plugin', name, 'unavailable:', repr(e))
return False
requires = d.get('requires_wallet_type', [])
return not requires or w.wallet_type in requires