From 2a676d2ebf274c9d0c496894700ebe113346c031 Mon Sep 17 00:00:00 2001 From: Victor Tang Date: Wed, 2 Nov 2022 07:55:34 +0800 Subject: [PATCH] fix #3236 (#3250) fix None sources which gave error --- openbb_terminal/stocks/stocks_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openbb_terminal/stocks/stocks_controller.py b/openbb_terminal/stocks/stocks_controller.py index ee90b5d06f9..d419879a91f 100644 --- a/openbb_terminal/stocks/stocks_controller.py +++ b/openbb_terminal/stocks/stocks_controller.py @@ -546,6 +546,7 @@ class StocksController(StockBaseController): "--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]: