diff --git a/openbb_terminal/dashboards/dashboards_controller.py b/openbb_terminal/dashboards/dashboards_controller.py index f9c94f449b0..e81b7dd9d16 100644 --- a/openbb_terminal/dashboards/dashboards_controller.py +++ b/openbb_terminal/dashboards/dashboards_controller.py @@ -7,6 +7,7 @@ import os import subprocess # nosec from typing import List +import openbb_terminal.config_terminal as cfg from openbb_terminal import feature_flags as obbff from openbb_terminal.custom_prompt_toolkit import NestedCompleter from openbb_terminal.decorators import log_start_end @@ -159,12 +160,14 @@ def create_call_voila(other_args: List[str], name: str, filename: str = None) -> if ns_parser.dark and not ns_parser.jupyter: args += "--theme=dark" if ns_parser.input or response.lower() == "y": + cfg.LOGGING_SUPPRESS = True subprocess.Popen( f"{cmd} {file} {args}", stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True, # nosec ) + cfg.LOGGING_SUPPRESS = False else: console.print(f"Type: {cmd} voila/{file}\ninto a terminal to run.")