Added event for main loop
This commit is contained in:
parent
6ad36bf4e5
commit
a036c1839f
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user