Added event for main loop

This commit is contained in:
Kevin F 2022-09-16 23:24:44 -05:00
parent 6ad36bf4e5
commit a036c1839f
1 changed files with 3 additions and 0 deletions

View File

@ -85,10 +85,13 @@ def daemon():
try:
while True:
# Mainly for things like repls
events.event('primary_loop', threaded=False)
sleep(60)
except KeyboardInterrupt:
pass
cleanup.delete_run_files()
if security_level >= 2:
filenuke.nuke.clean_tree(identifyhome.identify_home())