From a59041328142d7b9b4fa436edc3ad8a14008e18c Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Wed, 15 May 2024 10:11:02 -0400 Subject: [PATCH] dont reset on cn error --- installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.py b/installer.py index 0598fc8d5..2c98cee36 100644 --- a/installer.py +++ b/installer.py @@ -795,7 +795,7 @@ def install_submodules(force=True): log.info('Verifying submodules') txt = git('submodule') # log.debug(f'Submodules list: {txt}') - if force and 'no submodule mapping found' in txt: + if force and 'no submodule mapping found' in txt and 'sd-webui-controlnet' not in txt: log.warning('Attempting repository recover') git('add .') git('stash')