mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
misc
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user