Fix bug with post-install browser open

This commit is contained in:
cmdr2 2024-10-11 13:37:26 +05:30
parent 696b65049f
commit d0cd340cbd

View File

@ -135,6 +135,8 @@ def start_backend():
if was_still_installing and is_first_start: if was_still_installing and is_first_start:
ui = config.get("ui", {}) ui = config.get("ui", {})
net = config.get("net", {})
port = net.get("listen_port", 9000)
if ui.get("open_browser_on_start", True): if ui.get("open_browser_on_start", True):
import webbrowser import webbrowser