mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-09 22:44:44 +00:00
allow overriding competition in config
This commit is contained in:
parent
e16295da2b
commit
40252dd74c
@ -215,6 +215,9 @@ def main(send, verbose = False, profile = False, debug = False):
|
||||
config = resolve_config_conflicts(send, client, config, preference, sync)
|
||||
|
||||
exec_threads, config_modules = parse_config_variable(send, config)
|
||||
if 'competition' in config['variable']:
|
||||
competition = config['variable']['competition']
|
||||
else:
|
||||
competition = pull.get_team_competition()
|
||||
for m in config_modules:
|
||||
if m in modules:
|
||||
|
Loading…
Reference in New Issue
Block a user