tAdd plugins variable to console - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 392335487b7a347b191a4b9a4553f364acb58e83 (DIR) parent 77a029082aac75264c5851ea7bb3928af4d44e6d (HTM) Author: Neil Booth <kyuupichan@gmail.com> Date: Fri, 4 Sep 2015 10:27:28 +0900 Add plugins variable to console Diffstat: M gui/qt/main_window.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- (DIR) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1754,7 +1754,10 @@ class ElectrumWindow(QMainWindow): console.history = self.config.get("console-history",[]) console.history_index = len(console.history) - console.updateNamespace({'wallet' : self.wallet, 'network' : self.network, 'gui':self}) + console.updateNamespace({'wallet' : self.wallet, + 'network' : self.network, + 'plugins' : self.gui_object.plugins, + 'gui': self}) console.updateNamespace({'util' : util, 'bitcoin':bitcoin}) c = commands.Commands(self.config, self.wallet, self.network, lambda: self.console.set_json(True))