mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
Clean console.py
Remove a nonessential line and fix a typo.
This commit is contained in:
parent
995250948a
commit
c5577b0271
1 changed files with 1 additions and 2 deletions
|
@ -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_())
|
||||
|
|
Loading…
Add table
Reference in a new issue