mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
black
This commit is contained in:
@@ -476,7 +476,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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user