From 4cfb6e1d7609ce0dee0b1f73517642bb56ba5c30 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 3 Sep 2015 07:43:16 +0200 Subject: [PATCH] add missing parameter --- lib/plugins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugins.py b/lib/plugins.py index d3ab518f7..76185653c 100644 --- a/lib/plugins.py +++ b/lib/plugins.py @@ -46,7 +46,7 @@ class Plugins: continue x = item.get('registers_wallet_type') if x: - self.register_wallet_type(name, x) + self.register_wallet_type(config, name, x) if config.get('use_' + name): self.load_plugin(config, name) @@ -109,7 +109,7 @@ class Plugins: self.load_plugin(config, name) return self.plugins[name] - def register_wallet_type(self, name, x): + def register_wallet_type(self, config, name, x): import wallet x += (lambda: self.wallet_plugin_loader(config, name),) wallet.wallet_types.append(x)