fix "unrecognized arguments: --yes" bug on unattended upgrade

This commit is contained in:
Lincoln Stein
2023-07-30 11:07:06 -04:00
parent 03594c949a
commit 83d3f2347e
3 changed files with 4 additions and 4 deletions

View File

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