mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-13 22:56:19 +00:00
set return value for profile option
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
9b614af85c
commit
e15f87b2e5
@ -317,7 +317,7 @@ def main(send, verbose = False, profile = False, debug = False):
|
|||||||
send(stdout, INF, "finished all tasks in " + str(time.time() - loop_start) + " seconds, looping")
|
send(stdout, INF, "finished all tasks in " + str(time.time() - loop_start) + " seconds, looping")
|
||||||
|
|
||||||
if profile:
|
if profile:
|
||||||
return # return instead of break to avoid sys.exit
|
return 0 # return instead of break to avoid sys.exit
|
||||||
|
|
||||||
event_delay = config["variable"]["event-delay"]
|
event_delay = config["variable"]["event-delay"]
|
||||||
if event_delay:
|
if event_delay:
|
||||||
|
Loading…
Reference in New Issue
Block a user