allow overriding competition in config

This commit is contained in:
Dev Singh 2022-01-10 15:40:58 +00:00
parent e16295da2b
commit 40252dd74c

View File

@ -215,6 +215,9 @@ 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)
if 'competition' in config['variable']:
competition = config['variable']['competition']
else:
competition = pull.get_team_competition() competition = pull.get_team_competition()
for m in config_modules: for m in config_modules:
if m in modules: if m in modules: