more fixes to update and install

This commit is contained in:
Lincoln Stein
2023-07-30 11:57:06 -04:00
parent 0abceb0e7b
commit 99823d5039
4 changed files with 5 additions and 4 deletions

View File

@ -650,7 +650,8 @@ def process_and_execute(
):
# need to reinitialize config in subprocess
config = InvokeAIAppConfig.get_config()
config.parse_args(['--root',opt.root])
args = ["--root", opt.root] if opt.root else []
config.parse_args(args)
# set up so that stderr is sent to conn_out
if conn_out: