mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
dont reset on cn error
This commit is contained in:
+1
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user