From c5577b0271e08587172dfbf8e9cf592bc1a3d5d4 Mon Sep 17 00:00:00 2001 From: Benoit Verret Date: Tue, 14 Jul 2020 09:24:34 -0400 Subject: [PATCH] Clean console.py Remove a nonessential line and fix a typo. --- electrum/gui/qt/console.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py index 3971ad696..994d68953 100644 --- a/electrum/gui/qt/console.py +++ b/electrum/gui/qt/console.py @@ -178,7 +178,7 @@ class Console(QtWidgets.QPlainTextEdit): def getHistory(self): return self.history - def setHisory(self, history): + def setHistory(self, history): self.history = history def addToHistory(self, command): @@ -357,6 +357,5 @@ welcome_message = ''' if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) console = Console(startup_message=welcome_message) - console.updateNamespace({'myVar1' : app, 'myVar2' : 1234}) console.show() sys.exit(app.exec_())