tMerge pull request #6384 from verretor/clean-console - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 5bf47279e0acb76080417de032e1495badd2c3a2 DIR parent cdda1549e91421723c677d751616660db95afb40 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 29 Jul 2020 17:48:50 +0200 Merge pull request #6384 from verretor/clean-console Clean console.py Diffstat: M electrum/gui/qt/console.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) --- DIR diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py t@@ -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): t@@ -353,10 +353,3 @@ welcome_message = ''' Welcome to a primitive Python interpreter. --------------------------------------------------------------- ''' - -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_())