dont reset on cn error

This commit is contained in:
Vladimir Mandic
2024-05-15 10:11:02 -04:00
parent eb34241ca9
commit a590413281
+1 -1
View File
@@ -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')