This commit is contained in:
mungai-njoroge
2023-07-17 11:30:05 +03:00
parent 861a854f91
commit e70d787580
4 changed files with 26 additions and 7 deletions
+9
View File
@@ -12,6 +12,7 @@ from app.setup import run_setup
from app.start_info_logger import log_startup_info
from app.utils.filesystem import get_home_res_path
from app.utils.threading import background
from alive_progress import config_handler
werkzeug = logging.getLogger("werkzeug")
werkzeug.setLevel(logging.ERROR)
@@ -47,7 +48,15 @@ def start_watchdog():
WatchDog().run()
def configure_alive_bar():
"""
Sets the default alive bar settings.
"""
config_handler.set_global(spinner="classic", bar="classic2", enrich_print=False)
if __name__ == "__main__":
configure_alive_bar()
HandleArgs()
log_startup_info()
bg_run_setup()