mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-12-30 19:39:09 +00:00
set return value for profile option
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: e15f87b2e5
This commit is contained in:
parent
26d9d962c0
commit
a4a13c7cb5
@ -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