mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 04:31:13 +00:00
Fixes 2 minor issues (#892)
* finviz.analyst export param to be optional * Fix quit after more than 1 reset occuring
This commit is contained in:
@@ -55,7 +55,7 @@ def news(ticker: str, num: int):
|
||||
print("")
|
||||
|
||||
|
||||
def analyst(ticker: str, export: str):
|
||||
def analyst(ticker: str, export: str = ""):
|
||||
"""Display analyst ratings. [Source: Finviz]
|
||||
|
||||
Parameters
|
||||
|
||||
@@ -278,7 +278,7 @@ def terminal(menu_prior_to_reset=""):
|
||||
else:
|
||||
print("\nInvalid DEFAULT_CONTEXT config selected!", "\n")
|
||||
|
||||
if process_input != MENU_QUIT:
|
||||
if process_input not in (MENU_QUIT, MENU_RESET):
|
||||
t_controller.print_help()
|
||||
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user