pythongosssss / ComfyUI-Custom-Scripts

Enhancements & experiments for ComfyUI, mostly focusing on UI features
MIT License
1.38k stars 104 forks source link

Fix TypeError(string indices must be integers) in populate_items when… #208

Open yiyang186 opened 3 months ago

yiyang186 commented 3 months ago

I created some soft-links for checkpoints from local huggingface hub. When the soft-link is broken, the TypeError(string indices must be integers) raise on Line100 in the file(py/better_combos.py). Because names[idx] is a string when file_path is None.