fix handling --no-color for edge and backtesting
This commit is contained in:
parent
1a34b9b61c
commit
58d308fd05
@ -256,7 +256,9 @@ class Configuration(object):
|
||||
|
||||
if 'print_colorized' in self.args and not self.args.print_colorized:
|
||||
logger.info('Parameter --no-color detected ...')
|
||||
config.update({'print_colorized': getattr(self.args, 'print_colorized')})
|
||||
config.update({'print_colorized': False})
|
||||
else:
|
||||
config.update({'print_colorized': True})
|
||||
|
||||
self._args_to_config(config, argname='hyperopt_jobs',
|
||||
logstring='Parameter -j/--job-workers detected: {}')
|
||||
|
Loading…
Reference in New Issue
Block a user