diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-09-25 22:53:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-25 22:53:26 -0400 |
commit | d63f5673cfa5441cc4dddfb02c1bda89978d4f26 (patch) | |
tree | 2a59f729552079cccd3ee99a2ad5f4ce1dc384cd /cmd2/cmd2.py | |
parent | b80f9c71fe2b51c7684489765c59be4eb7cdd50b (diff) | |
parent | 0d1261e87299b8c01db68e4a5d72684f45269e10 (diff) | |
download | cmd2-git-d63f5673cfa5441cc4dddfb02c1bda89978d4f26.tar.gz |
Merge pull request #544 from python-cmd2/hist_crash
Fixed bug where self.persistent_history_file attribute didn't exist
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 333b4706..0ea3d8cd 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -441,6 +441,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 |