diff --git a/openbb_terminal/helper_funcs.py b/openbb_terminal/helper_funcs.py index 4a7ee62dd64..f50245cae09 100644 --- a/openbb_terminal/helper_funcs.py +++ b/openbb_terminal/helper_funcs.py @@ -1243,7 +1243,8 @@ def check_file_type_saved(valid_types: List[str] = None): valid_filenames.append(filename) else: console.print( - f"[red]Filename '{filename}' provided is not valid![/red]" + f"[red]Filename '{filename}' provided is not valid!\nPlease use one of the following file types:" + f"{','.join(valid_types)}[/red]\n" ) return ",".join(valid_filenames) diff --git a/openbb_terminal/parent_classes.py b/openbb_terminal/parent_classes.py index 9355f29535f..d85d7d2d4b6 100644 --- a/openbb_terminal/parent_classes.py +++ b/openbb_terminal/parent_classes.py @@ -747,7 +747,6 @@ class BaseController(metaclass=ABCMeta): type=check_file_type_saved(choices_export), dest="export", help=help_export, - choices=choices_export, ) if raw: