only override strategy if other than DEFAULT
This commit is contained in:
parent
f78044da6d
commit
df57c32076
@ -33,8 +33,9 @@ class Configuration(object):
|
|||||||
logger.info('Using config: %s ...', self.args.config)
|
logger.info('Using config: %s ...', self.args.config)
|
||||||
config = self._load_config_file(self.args.config)
|
config = self._load_config_file(self.args.config)
|
||||||
|
|
||||||
# Add the strategy file to use
|
# Override strategy if specified
|
||||||
config.update({'strategy': self.args.strategy})
|
if self.args.strategy != Constants.DEFAULT_STRATEGY:
|
||||||
|
config.update({'strategy': self.args.strategy})
|
||||||
|
|
||||||
if self.args.strategy_path:
|
if self.args.strategy_path:
|
||||||
config.update({'strategy_path': self.args.strategy_path})
|
config.update({'strategy_path': self.args.strategy_path})
|
||||||
|
Loading…
Reference in New Issue
Block a user