mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-09 22:44:44 +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")
|
||||
|
||||
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"]
|
||||
if event_delay:
|
||||
|
Loading…
Reference in New Issue
Block a user