From d24f1ad429aab3beb15968d34d77ef757ca4ea6e Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Mon, 17 May 2021 14:37:53 -0400 Subject: Fixed allow_redirection documentation --- docs/features/redirection.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/features') diff --git a/docs/features/redirection.rst b/docs/features/redirection.rst index 677c573d..c7d0ea98 100644 --- a/docs/features/redirection.rst +++ b/docs/features/redirection.rst @@ -64,6 +64,7 @@ Disabling Redirection from cmd2 import Cmd class App(Cmd): def __init__(self): + super().__init__() self.allow_redirection = False cmd2's parser will still treat the ``>``, ``>>``, and `|` symbols as output -- cgit v1.2.1