From a1a4fe8e92e4210d9609c354073116910dd48f28 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 30 May 2015 18:55:32 +0200 Subject: [PATCH] fix Commands constructor --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 48eaa1a66..0cebd292a 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -1630,7 +1630,7 @@ class ElectrumWindow(QMainWindow): console.updateNamespace({'wallet' : self.wallet, 'network' : self.network, 'gui':self}) console.updateNamespace({'util' : util, 'bitcoin':bitcoin}) - c = commands.Commands(self.wallet, self.network, lambda: self.console.set_json(True)) + c = commands.Commands(self.config, self.wallet, self.network, lambda: self.console.set_json(True)) methods = {} def mkfunc(f, method): return lambda *args: apply( f, (method, args, self.password_dialog ))