mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 14:50:49 +08:00
Merge pull request #4 from cjonesuk/patch-1
Allow iteration over folder paths
This commit is contained in:
commit
5208618681
@ -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