mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-24 17:24:29 +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:
|
||||
ui = config.get("ui", {})
|
||||
net = config.get("net", {})
|
||||
port = net.get("listen_port", 9000)
|
||||
|
||||
if ui.get("open_browser_on_start", True):
|
||||
import webbrowser
|
||||
|
Loading…
Reference in New Issue
Block a user