ComfyUI_Comfyroll_CustomNodes icon indicating copy to clipboard operation
ComfyUI_Comfyroll_CustomNodes copied to clipboard

When CR load image list plus reads the list of images, it is always missing the last one

Open ririko6z opened this issue 1 year ago • 2 comments

QQ截图20240611090650 Why is there always one missing image when reading the image list

ririko6z avatar Jun 11 '24 01:06 ririko6z

nodes_list.py - line 185

end_index = min(start_index + max_images, len(file_list))

arturleao avatar Jun 15 '24 12:06 arturleao

If you want the workflow to stop forcibly on the last picture (with an error, as before) - change this line.: nodes_list.py - line 182

start_index = max(0, start_index)

Shyryp avatar Jul 29 '24 21:07 Shyryp