mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-01 15:46:54 +02:00
Fix a bug preventing the installation of the WebUI backend
This commit is contained in:
parent
07105d7cfd
commit
964aef6bc3
@ -101,14 +101,14 @@ def start_backend():
|
||||
config = getConfig()
|
||||
backend_config = config.get("backend_config", {})
|
||||
|
||||
env = dict(os.environ)
|
||||
env.update(get_env())
|
||||
|
||||
log.info(f"WebUI backend dir: {BACKEND_DIR}")
|
||||
log.info(f"Expected WebUI backend dir: {BACKEND_DIR}")
|
||||
|
||||
if not os.path.exists(BACKEND_DIR):
|
||||
install_backend()
|
||||
|
||||
env = dict(os.environ)
|
||||
env.update(get_env())
|
||||
|
||||
was_still_installing = not is_installed()
|
||||
|
||||
if backend_config.get("auto_update", True):
|
||||
|
Loading…
x
Reference in New Issue
Block a user