Removed logger.debugs for proven functions.

This commit is contained in:
lwark
2024-12-12 12:17:21 -06:00
parent b174eb1221
commit 67520cb784
32 changed files with 80 additions and 758 deletions

View File

@@ -1,6 +1,5 @@
import sys, os
from tools import ctx, setup_logger, check_if_app
from backend import scripts
# environment variable must be set to enable qtwebengine in network path
if check_if_app():
@@ -9,6 +8,7 @@ if check_if_app():
# setup custom logger
logger = setup_logger(verbosity=3)
from backend import scripts
from PyQt6.QtWidgets import QApplication
from frontend.widgets.app import App
@@ -25,6 +25,7 @@ def run_startup():
except AttributeError as e:
logger.error(f"Couldn't run startup script {script} due to {e}")
continue
logger.info(f"Running startup script: {func.__name__}")
func(ctx)
@@ -40,6 +41,7 @@ def run_teardown():
except AttributeError as e:
logger.error(f"Couldn't run teardown script {script} due to {e}")
continue
logger.info(f"Running teardown script: {func.__name__}")
func(ctx)
if __name__ == '__main__':