From c7bd1e9428372be2f98f27c620f35e827969b2df Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Fri, 1 Jan 2016 19:22:34 +0900 Subject: [PATCH] Fix plugin dialog logic I broke recently --- lib/plugins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/plugins.py b/lib/plugins.py index 959dd48c1..32ccf3050 100644 --- 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 = []