sort extra networks depth-first

This commit is contained in:
Vladimir Mandic
2023-06-22 09:36:42 -04:00
parent 9740b9d217
commit 91e65fd3c5
3 changed files with 12 additions and 1 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ def run_postprocessing(extras_mode, image, image_folder: List[tempfile.NamedTemp
for filename in image_list:
try:
image = Image.open(filename)
except Exception:
except Exception as e:
shared.log.error(f'Failed to open image: {filename} {e}')
continue
image_data.append(image)
image_names.append(filename)