summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-09-25 22:54:05 -0400
committerGitHub <noreply@github.com>2018-09-25 22:54:05 -0400
commit7ea8d3b57d197690ac5792ee5eeb7898dc4519a4 (patch)
tree3757bad9aabbf0b201e30aaa5c32dbafddba2335 /cmd2/cmd2.py
parentd78fdecbf0bed5c9927bfbcd18eb2f51e10a79b1 (diff)
parentd63f5673cfa5441cc4dddfb02c1bda89978d4f26 (diff)
downloadcmd2-git-7ea8d3b57d197690ac5792ee5eeb7898dc4519a4.tar.gz
Merge branch 'master' into colorize
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 9c245aa0..556eb236 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -444,6 +444,7 @@ class Cmd(cmd.Cmd):
self.broken_pipe_warning = ''
# Check if history should persist
+ self.persistent_history_file = ''
if persistent_history_file and rl_type != RlType.NONE:
persistent_history_file = os.path.expanduser(persistent_history_file)
read_err = False