From d0cd340cbd6767e0057e41a33795d55b7d852f53 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Fri, 11 Oct 2024 13:37:26 +0530 Subject: [PATCH] Fix bug with post-install browser open --- ui/easydiffusion/backends/webui/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/easydiffusion/backends/webui/__init__.py b/ui/easydiffusion/backends/webui/__init__.py index 76c596b9..ef3dd417 100644 --- a/ui/easydiffusion/backends/webui/__init__.py +++ b/ui/easydiffusion/backends/webui/__init__.py @@ -135,6 +135,8 @@ def start_backend(): if was_still_installing and is_first_start: ui = config.get("ui", {}) + net = config.get("net", {}) + port = net.get("listen_port", 9000) if ui.get("open_browser_on_start", True): import webbrowser