Skip to content

Commit

Permalink
[console] Fix error when console history file is missing
Browse files Browse the repository at this point in the history
from the user profile directory (fixes #38142)
  • Loading branch information
nirvn committed Aug 5, 2020
1 parent 8a61f8f commit 38a7e72
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 38a7e72

Please sign in to comment.