diff --git a/gamestonk_terminal/parent_classes.py b/gamestonk_terminal/parent_classes.py index d8706e9414d..4b702c97a47 100644 --- a/gamestonk_terminal/parent_classes.py +++ b/gamestonk_terminal/parent_classes.py @@ -159,6 +159,7 @@ class BaseController(metaclass=ABCMeta): elif known_args.cmd == "r": known_args.cmd = "reset" + # This is what mutes portfolio issue getattr( self, "call_" + known_args.cmd, diff --git a/terminal.py b/terminal.py index 15c6e26b919..8568c10568d 100644 --- a/terminal.py +++ b/terminal.py @@ -277,9 +277,7 @@ def terminal(jobs_cmds: List[str] = None): # Check if the user wants to reset application if an_input in ("r", "reset") or t_controller.update_succcess: - ret_code = reset( - t_controller.queue if len(t_controller.queue) > 0 else [] - ) + ret_code = reset(t_controller.queue if t_controller.queue else []) if ret_code != 0: print_goodbye() break