mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 00:07:14 +03:00
EDMC: Actually set config.trace_on from CL args
Else they won't work, duh!
This commit is contained in:
parent
4433b67c82
commit
021d3a25fa
6
EDMC.py
6
EDMC.py
@ -191,6 +191,12 @@ exec_prefix: {sys.exec_prefix}
|
||||
executable: {sys.executable}
|
||||
sys.path: {sys.path}'''
|
||||
)
|
||||
if args.trace_on and len(args.trace_on) > 0:
|
||||
import config as conf_module
|
||||
|
||||
conf_module.trace_on = [x.casefold() for x in args.trace_on] # duplicate the list just in case
|
||||
for d in conf_module.trace_on:
|
||||
logger.info(f'marked {d} for TRACE')
|
||||
|
||||
log_locale('Initial Locale')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user