From a5e92e2bb35b2a50c9e5da0150656521369be855 Mon Sep 17 00:00:00 2001 From: brknsoul Date: Fri, 18 Oct 2024 13:40:48 +1030 Subject: [PATCH] Update webui.py added shared.opts.autolaunch --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index f0f29e13a..1181738f9 100644 --- a/webui.py +++ b/webui.py @@ -350,7 +350,7 @@ def webui(restart=False): continue logger.handlers = log.handlers # autolaunch only on initial start - if cmd_opts.autolaunch and local_url is not None: + if shared.opts.autolaunch or cmd_opts.autolaunch and local_url is not None: cmd_opts.autolaunch = False shared.log.info('Launching browser') import webbrowser