fix: renderer error

clean: logging configuration
This commit is contained in:
Swann Martinez
2019-10-16 10:53:08 +02:00
parent 485e2527fe
commit ca0fb7c76f
6 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ DEPENDENCIES = {
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
logger.setLevel(logging.ERROR)
#TODO: refactor config
# UTILITY FUNCTIONS

View File

@ -6,7 +6,7 @@ import sys
from pathlib import Path
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
logger.setLevel(logging.ERROR)
CONFIG_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "config")
CONFIG = os.path.join(CONFIG_DIR, "app.yaml")

View File

@ -22,7 +22,7 @@ from .libs.replication.replication.exception import NonAuthorizedOperationError
from .libs.replication.replication.interface import Session
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
logger.setLevel(logging.ERROR)
client = None
delayables = []

View File

@ -12,7 +12,7 @@ from gpu_extras.batch import batch_for_shader
from . import utils
global renderer
renderer = None
logger = logging.getLogger(__name__)

View File

@ -13,7 +13,7 @@ from . import environment, presence
from .libs import dump_anything
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
logger.setLevel(logging.ERROR)
def find_from_attr(attr_name, attr_value, list):