Suzie1 / ComfyUI_Comfyroll_CustomNodes

Custom nodes for SDXL and SD1.5 including Multi-ControlNet, LoRA, Aspect Ratio, Process Switches, and many more nodes.
https://civitai.com/models/183551/comfyui-comfyroll-custom-nodes
681 stars 89 forks source link

Update nodes_list.py - CR_LoadImageListPlus #171

Open MilitantHitchhiker opened 5 months ago

MilitantHitchhiker commented 5 months ago

The key changes are: The use of cls instead of s in the INPUT_TYPES method. The handling of image file extensions, where only .webp, .jpg, .jpeg, and .png files are processed. The loop to process all the images between the start_index and the end of the list, ensuring all the images are handled correctly.

Problems resolved: CR_LoadImageListPlus now correctly processes the full list as intended. Skips over non-image files, preventing a workflow stopping error.