From 0d1261e87299b8c01db68e4a5d72684f45269e10 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Tue, 25 Sep 2018 22:48:01 -0400 Subject: Fixed bug where self.persistent_history_file attribute didn't exist --- cmd2/cmd2.py | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd2/cmd2.py') 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 -- cgit v1.2.1