comparison service/main.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 bbf992b0be0d
children b3cedbee561d
comparison
equal deleted inserted replaced
490:962d17c4078c 491:203755bbe0fe
22 os.chdir('..') 22 os.chdir('..')
23 sys.path.insert(0, '') 23 sys.path.insert(0, '')
24 from sat.core.constants import Const as C 24 from sat.core.constants import Const as C
25 from sat.core import log_config 25 from sat.core import log_config
26 # SàT log conf must be done before calling Kivy 26 # SàT log conf must be done before calling Kivy
27 log_config.satConfigure(C.LOG_BACKEND_STANDARD, C) 27 log_config.sat_configure(C.LOG_BACKEND_STANDARD, C)
28 # if this module is called, we should be on android, 28 # if this module is called, we should be on android,
29 # but just in case... 29 # but just in case...
30 from kivy import utils as kivy_utils 30 from kivy import utils as kivy_utils
31 if kivy_utils.platform == "android": 31 if kivy_utils.platform == "android":
32 # sys.platform is "linux" on android by default 32 # sys.platform is "linux" on android by default