fix: network object in console
This commit is contained in:
parent
0b2c09d20b
commit
9a06da1d6b
|
@ -1287,7 +1287,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
def mkfunc(f, method):
|
def mkfunc(f, method):
|
||||||
return lambda *args: apply( f, (method, args, self.password_dialog ))
|
return lambda *args: apply( f, (method, args, self.password_dialog ))
|
||||||
for m in dir(c):
|
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)
|
methods[m] = mkfunc(c._run, m)
|
||||||
|
|
||||||
console.updateNamespace(methods)
|
console.updateNamespace(methods)
|
||||||
|
|
Loading…
Reference in New Issue