commit c7bd1e9428372be2f98f27c620f35e827969b2df parent d63e754c6737a4ac4b43236eeb6bde48b3737fbd Author: Neil Booth <kyuupichan@gmail.com> Date: Fri, 1 Jan 2016 19:22:34 +0900 Fix plugin dialog logic I broke recently Diffstat:
M | lib/plugins.py | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/plugins.py b/lib/plugins.py @@ -102,7 +102,8 @@ class Plugins(DaemonThread): __import__(dep) except ImportError: return False - return w.wallet_type in d.get('requires_wallet_type', []) + requires = d.get('requires_wallet_type', []) + return not requires or w.wallet_type in requires def hardware_wallets(self, action): result = []