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')