Fixed rare crash bug when interupting generation

pull/56/head
jmsether 2023-04-23 16:29:48 -06:00
parent f933aeb284
commit 38b64d866e
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ def renderImg2Img(
processed = process_images(p)
# For those that use Image grids this will make sure that ffmpeg does not crash out
if (processed.images[0].size[0] != processed.images[1].size[0]):
if (processed.images[0].size[0] != processed.images[-1].size[0]):
processed.images.pop(0)
print("\nGrid image detected applying patch")