mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-10 06:54:45 +00:00
parent
e20a212bd9
commit
26d9d962c0
@ -252,6 +252,7 @@ def main(send, verbose = False, profile = False, debug = False):
|
|||||||
|
|
||||||
if load_config(config_path, config):
|
if load_config(config_path, config):
|
||||||
send(stderr, ERR, "could not find config at <" + config_path + ">, generating blank config and exiting", code = 100)
|
send(stderr, ERR, "could not find config at <" + config_path + ">, generating blank config and exiting", code = 100)
|
||||||
|
close_all()
|
||||||
exit_code = 1
|
exit_code = 1
|
||||||
break
|
break
|
||||||
|
|
||||||
@ -260,6 +261,7 @@ def main(send, verbose = False, profile = False, debug = False):
|
|||||||
flag, apikey, tbakey, preference, sync = parse_config_persistent(send, config)
|
flag, apikey, tbakey, preference, sync = parse_config_persistent(send, config)
|
||||||
if flag:
|
if flag:
|
||||||
exit_code = 1
|
exit_code = 1
|
||||||
|
close_all()
|
||||||
break
|
break
|
||||||
send(stdout, INF, "found and loaded database and tba keys")
|
send(stdout, INF, "found and loaded database and tba keys")
|
||||||
|
|
||||||
@ -271,10 +273,12 @@ def main(send, verbose = False, profile = False, debug = False):
|
|||||||
resolve_config_conflicts(send, client, config, preference, sync)
|
resolve_config_conflicts(send, client, config, preference, sync)
|
||||||
if config == 1:
|
if config == 1:
|
||||||
exit_code = 1
|
exit_code = 1
|
||||||
|
close_all()
|
||||||
break
|
break
|
||||||
flag, exec_threads, competition, match_tests, metrics_tests, pit_tests = parse_config_variable(send, config)
|
flag, exec_threads, competition, match_tests, metrics_tests, pit_tests = parse_config_variable(send, config)
|
||||||
if flag:
|
if flag:
|
||||||
exit_code = 1
|
exit_code = 1
|
||||||
|
close_all()
|
||||||
break
|
break
|
||||||
|
|
||||||
start = time.time()
|
start = time.time()
|
||||||
|
Loading…
Reference in New Issue
Block a user