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 67304636..caeb4ab0 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -1417,8 +1417,8 @@ class Cmd(cmd.Cmd): return None except CompletionError as ex: - err_str = str(ex) # Don't print error and redraw the prompt unless the error has length + err_str = str(ex) if err_str: if ex.apply_style: err_str = ansi.style_error(err_str) |