This commit is contained in:
AUTOMATIC 2022-10-02 21:35:29 +03:00
parent ad0503c1b5
commit c0389eb307

View File

@ -103,11 +103,11 @@ def webui():
while 1:
time.sleep(0.5)
if getattr(demo,'do_restart',False):
time.sleep(0.5)
demo.close()
time.sleep(0.5)
break
if getattr(demo, 'do_restart', False):
time.sleep(0.5)
demo.close()
time.sleep(0.5)
break
print('Reloading Custom Scripts')
modules.scripts.reload_scripts(os.path.join(script_path, "scripts"))