Skip to content

Commit

Permalink
[console] Fix error when console history file is missing from the use…
Browse files Browse the repository at this point in the history
…r profile directory
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Aug 6, 2020
1 parent 49172c4 commit 6da4e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/console/console_sci.py
Expand Up @@ -104,7 +104,7 @@ def __init__(self, parent=None):
self.runsource(line)

self.history = []
self.softHistory = []
self.softHistory = ['']
self.softHistoryIndex = 0
# Read history command file
self.readHistoryFile()
Expand Down

0 comments on commit 6da4e29

Please sign in to comment.