From b6d50a93c6c0c648ab4907e23989cd258e1b0d27 Mon Sep 17 00:00:00 2001 From: brknsoul Date: Fri, 18 Oct 2024 14:09:43 +1030 Subject: [PATCH] brackets --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index 1181738f9..32e7ed75b 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 shared.opts.autolaunch or 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