Added event for main loop

This commit is contained in:
Kevin F 2022-09-16 23:24:44 -05:00
parent 6ad36bf4e5
commit a036c1839f

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())