This commit is contained in:
brknsoul
2024-10-18 14:09:43 +10:30
committed by GitHub
parent 918174e307
commit b6d50a93c6
+1 -1
View File
@@ -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