diff options
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 4ba2e83e..a4036a8e 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2963,7 +2963,7 @@ class Cmd(cmd.Cmd): if orig_value != new_value: onchange_hook = getattr(self, '_onchange_{}'.format(param), None) if onchange_hook is not None: - onchange_hook(old=orig_value, new=new_value) + onchange_hook(old=orig_value, new=new_value) # pylint: disable=not-callable shell_parser = ArgParser() shell_parser.add_argument('command', help='the command to run', completer_method=shell_cmd_complete) |