From 9a06da1d6b83adb9b12e442e63aaf729a8df1eee Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 4 Oct 2013 16:44:36 +0200 Subject: [PATCH] fix: network object in console --- 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 01011ed58..18bf284ae 100644 --- a/gui/qt/main_window.py +++ b/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)