diff --git a/gamestonk_terminal/portfolio/degiro_api.py b/gamestonk_terminal/portfolio/degiro_api.py index 6a84867b9f8..e1b5fe8d27b 100644 --- a/gamestonk_terminal/portfolio/degiro_api.py +++ b/gamestonk_terminal/portfolio/degiro_api.py @@ -79,7 +79,6 @@ class DegiroController: ) self.__degiro_parser.add_argument("cmd", choices=self.CHOICES) - def q(self, _): """Process Q command - quit the menu""" @@ -260,7 +259,7 @@ class DegiroController: def lookup(self, l_args): """ Search for products by their name.""" - + # PARSING ARGS parser = argparse.ArgumentParser( add_help=False, @@ -429,9 +428,7 @@ class DegiroController: try: degiro_parser = self.__degiro_parser - (known_args, other_args) = degiro_parser.parse_known_args( - an_input.split() - ) + (known_args, other_args) = degiro_parser.parse_known_args(an_input.split()) return getattr( self, diff --git a/gamestonk_terminal/portfolio/port_controller.py b/gamestonk_terminal/portfolio/port_controller.py index ab7a27222c8..c87290294fb 100644 --- a/gamestonk_terminal/portfolio/port_controller.py +++ b/gamestonk_terminal/portfolio/port_controller.py @@ -19,6 +19,7 @@ from gamestonk_terminal.portfolio.portfolio_helpers import ( print_portfolio, ) + class PortfolioController: """Portfolio Controller"""