Mercurial > libervia-desktop-kivy
comparison cagou/core/kivy_hack.py @ 491:203755bbe0fe
massive refactoring from camelCase -> snake_case. See backend commit log for more details
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 08 Apr 2023 13:44:32 +0200 |
parents | 3c9ba4a694ef |
children |
comparison
equal
deleted
inserted
replaced
490:962d17c4078c | 491:203755bbe0fe |
---|---|
27 import sys | 27 import sys |
28 ori_argv = sys.argv[:] | 28 ori_argv = sys.argv[:] |
29 sys.argv = sys.argv[:1] | 29 sys.argv = sys.argv[:1] |
30 from .constants import Const as C | 30 from .constants import Const as C |
31 from sat.core import log_config | 31 from sat.core import log_config |
32 log_config.satConfigure(C.LOG_BACKEND_STANDARD, C) | 32 log_config.sat_configure(C.LOG_BACKEND_STANDARD, C) |
33 | 33 |
34 from . import config | 34 from . import config |
35 kivy_level = config.getConfig(C.CONFIG_SECTION, CONF_KIVY_LEVEL, 'follow').upper() | 35 kivy_level = config.config_get(C.CONFIG_SECTION, CONF_KIVY_LEVEL, 'follow').upper() |
36 | 36 |
37 # kivy handles its own loggers, we don't want that! | 37 # kivy handles its own loggers, we don't want that! |
38 import logging | 38 import logging |
39 root_logger = logging.root | 39 root_logger = logging.root |
40 kivy_logger = logging.getLogger('kivy') | 40 kivy_logger = logging.getLogger('kivy') |