diff --git a/ui/server.py b/ui/server.py index 42ba5a4e..e6a0a9f4 100644 --- a/ui/server.py +++ b/ui/server.py @@ -399,4 +399,10 @@ def update_render_threads(): update_render_threads() # start the browser ui -import webbrowser; webbrowser.open('http://localhost:9000') +def open_browser(): + config = getConfig() + ui = config.get('ui', {}) + if ui.get('open_browser_on_start', True): + import webbrowser; webbrowser.open('http://localhost:9000') + +open_browser()