EDMC: Actually set config.trace_on from CL args

Else they won't work, duh!
This commit is contained in:
Athanasius committed 2021-08-13 15:20:21 +01:00
1 parent 4433b67c82
commit 021d3a25fa
1 file changed
+6
+6
View File
@@ -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')