mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-28 19:23:14 +01:00
Fix bug with post-install browser open
This commit is contained in:
parent
696b65049f
commit
d0cd340cbd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user