summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-25 22:58:56 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-25 22:58:56 -0400
commit1ad2fd7a4c328ac15fd63ac8f00e90d07ab8eb61 (patch)
tree2fda2a2a90d523ca5642d2500d98a08de96a111a
parenta72df92f167c138ee87397856f553b3aa0da192a (diff)
parentd63f5673cfa5441cc4dddfb02c1bda89978d4f26 (diff)
downloadcmd2-git-1ad2fd7a4c328ac15fd63ac8f00e90d07ab8eb61.tar.gz
Merge branch 'master' into macro
-rw-r--r--cmd2/cmd2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 31e0bfbd..cbe3d22a 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -443,6 +443,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