Browse Source

fix: network object in console

283
ThomasV 11 years ago
parent
commit
9a06da1d6b
  1. 2
      gui/qt/main_window.py

2
gui/qt/main_window.py

@ -1287,7 +1287,7 @@ class ElectrumWindow(QMainWindow):
def mkfunc(f, method):
return lambda *args: apply( f, (method, args, self.password_dialog ))
for m in dir(c):
if m[0]=='_' or m=='wallet' or m == 'interface': continue
if m[0]=='_' or m in ['network','wallet']: continue
methods[m] = mkfunc(c._run, m)
console.updateNamespace(methods)

Loading…
Cancel
Save