From 2ccc503ddf2ea7f21d32b0ce75883f6a908c0634 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Sun, 5 Feb 2023 12:08:13 +0000 Subject: [PATCH] black --- openbb_terminal/portfolio/portfolio_controller.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openbb_terminal/portfolio/portfolio_controller.py b/openbb_terminal/portfolio/portfolio_controller.py index 14a140d8e7b..bfd5be83dcb 100644 --- a/openbb_terminal/portfolio/portfolio_controller.py +++ b/openbb_terminal/portfolio/portfolio_controller.py @@ -440,7 +440,9 @@ class PortfolioController(BaseController): "[red]Please first load transactions file using 'load'[/red]" ) else: - if self.portfolio.set_benchmark(ns_parser.benchmark, ns_parser.full_shares): + if self.portfolio.set_benchmark( + ns_parser.benchmark, ns_parser.full_shares + ): self.benchmark_name = statics.BENCHMARK_CHOICES.get( ns_parser.benchmark, ns_parser.benchmark )