mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 14:20:49 +08:00
Allow iteration over folder paths
This commit is contained in:
parent
0db040cc47
commit
f8120bbd72
@ -61,6 +61,9 @@ class FolderNames:
|
||||
def __len__(self):
|
||||
return len(self.contents)
|
||||
|
||||
def __iter__(self):
|
||||
return iter(self.contents)
|
||||
|
||||
def items(self):
|
||||
return self.contents.items()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user