fix None sources which gave error
This commit is contained in:
Victor Tang
2022-11-02 07:55:34 +08:00
committed by GitHub
parent 05fe8c364c
commit 2a676d2ebf

View File

@@ -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]: