electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 5bf47279e0acb76080417de032e1495badd2c3a2
parent cdda1549e91421723c677d751616660db95afb40
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:
Melectrum/gui/qt/console.py | 9+--------
1 file changed, 1 insertion(+), 8 deletions(-)

diff --git 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): @@ -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_())