Commit c0389eb3 authored by AUTOMATIC's avatar AUTOMATIC

hello

parent ad0503c1
...@@ -103,11 +103,11 @@ def webui(): ...@@ -103,11 +103,11 @@ def webui():
while 1: while 1:
time.sleep(0.5) time.sleep(0.5)
if getattr(demo,'do_restart',False): if getattr(demo, 'do_restart', False):
time.sleep(0.5) time.sleep(0.5)
demo.close() demo.close()
time.sleep(0.5) time.sleep(0.5)
break break
print('Reloading Custom Scripts') print('Reloading Custom Scripts')
modules.scripts.reload_scripts(os.path.join(script_path, "scripts")) modules.scripts.reload_scripts(os.path.join(script_path, "scripts"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment