Skip to content

Commit

Permalink
fix #3236 (#3250)
Browse files Browse the repository at this point in the history
fix None sources which gave error
  • Loading branch information
victortangggg authored Nov 1, 2022
1 parent 05fe8c3 commit 2a676d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openbb_terminal/stocks/stocks_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ def call_news(self, other_args: List[str]):
"--sources",
dest="sources",
type=str,
default="",
help="Show news only from the sources specified (e.g bloomberg,reuters)",
)
if other_args and "-" not in other_args[0][0]:
Expand Down

0 comments on commit 2a676d2

Please sign in to comment.