diff options
Diffstat (limited to 'cli/openbb_cli/controllers/cli_controller.py')
-rw-r--r-- | cli/openbb_cli/controllers/cli_controller.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/openbb_cli/controllers/cli_controller.py b/cli/openbb_cli/controllers/cli_controller.py index 31d32499659..807af177ce5 100644 --- a/cli/openbb_cli/controllers/cli_controller.py +++ b/cli/openbb_cli/controllers/cli_controller.py @@ -4,7 +4,6 @@ import argparse import contextlib import difflib -import logging import os import re import sys @@ -60,8 +59,6 @@ DATA_PROCESSING_ROUTERS = ["technical", "quantitative", "econometrics"] # pylint: disable=too-many-public-methods,import-outside-toplevel, too-many-function-args # pylint: disable=too-many-branches,no-member,C0302,too-many-return-statements, inconsistent-return-statements -logger = logging.getLogger(__name__) - env_file = str(ENV_FILE_SETTINGS) session = Session() @@ -498,11 +495,6 @@ class CLIController(BaseController): def handle_job_cmds(jobs_cmds: Optional[List[str]]) -> Optional[List[str]]: """Handle job commands.""" - # If the path selected does not start from the user root, - # give relative location from root - if jobs_cmds is not None and jobs_cmds: - logger.info("INPUT: %s", "/".join(jobs_cmds)) - export_path = "" if jobs_cmds and "export" in jobs_cmds[0]: commands = jobs_cmds[0].split("/") @@ -620,10 +612,6 @@ def run_cli(jobs_cmds: Optional[List[str]] = None, test_mode=False): break except SystemExit: - logger.exception( - "The command '%s' doesn't exist on the / menu.", - an_input, - ) session.console.print( f"[red]The command '{an_input}' doesn't exist on the / menu.[/red]\n", ) |