1
0

add missing parameter

This commit is contained in:
ThomasV
2015-09-03 07:43:16 +02:00
parent 49797c3094
commit 4cfb6e1d76

View File

@@ -46,7 +46,7 @@ class Plugins:
continue continue
x = item.get('registers_wallet_type') x = item.get('registers_wallet_type')
if x: if x:
self.register_wallet_type(name, x) self.register_wallet_type(config, name, x)
if config.get('use_' + name): if config.get('use_' + name):
self.load_plugin(config, name) self.load_plugin(config, name)
@@ -109,7 +109,7 @@ class Plugins:
self.load_plugin(config, name) self.load_plugin(config, name)
return self.plugins[name] return self.plugins[name]
def register_wallet_type(self, name, x): def register_wallet_type(self, config, name, x):
import wallet import wallet
x += (lambda: self.wallet_plugin_loader(config, name),) x += (lambda: self.wallet_plugin_loader(config, name),)
wallet.wallet_types.append(x) wallet.wallet_types.append(x)