Removed logger.debugs for proven functions.
This commit is contained in:
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user