Browse Source

fix Commands constructor

283
ThomasV 10 years ago
parent
commit
a1a4fe8e92
  1. 2
      gui/qt/main_window.py

2
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 ))

Loading…
Cancel
Save