aboutsummaryrefslogtreecommitdiff
path: root/modules/launch_utils.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-06-06 02:52:05 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-06-06 02:52:05 +0900
commitc2808f3040babbb5b9456d15aa2a9354c1c64d23 (patch)
tree092b604f25cd61760fb75ecb2c67bce1e1f58ff7 /modules/launch_utils.py
parenteaace155cebeb4e713fc6f232261eeed6b958736 (diff)
SD_WEBUI_RESTARTING
Diffstat (limited to 'modules/launch_utils.py')
-rw-r--r--modules/launch_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py
index 59008385..609a181e 100644
--- a/modules/launch_utils.py
+++ b/modules/launch_utils.py
@@ -247,7 +247,7 @@ def prepare_environment():
try:
# the existance of this file is a signal to webui.sh/bat that webui needs to be restarted when it stops execution
os.remove(os.path.join(script_path, "tmp", "restart"))
- os.environ.setdefault('SD_WEBUI_DISABLE_AUTOLAUNCH', '1')
+ os.environ.setdefault('SD_WEBUI_RESTARTING ', '1')
except OSError:
pass