allow overriding competition in config

Former-commit-id: 40252dd74c
This commit is contained in:
Dev Singh 2022-01-10 15:40:58 +00:00
parent 18d4438f7f
commit db4b020851

View File

@ -215,7 +215,10 @@ def main(send, verbose = False, profile = False, debug = False):
config = resolve_config_conflicts(send, client, config, preference, sync) config = resolve_config_conflicts(send, client, config, preference, sync)
exec_threads, config_modules = parse_config_variable(send, config) exec_threads, config_modules = parse_config_variable(send, config)
competition = pull.get_team_competition() if 'competition' in config['variable']:
competition = config['variable']['competition']
else:
competition = pull.get_team_competition()
for m in config_modules: for m in config_modules:
if m in modules: if m in modules:
start = time.time() start = time.time()