add comment

This commit is contained in:
w-e-w
2023-09-12 09:29:07 +09:00
parent e785402b6a
commit 74b80e7211
4 changed files with 4 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ class ExtraNetworksPageHypernetworks(ui_extra_networks.ExtraNetworksPage):
}
def list_items(self):
# instantiate a list to protect against concurrent modification
names = list(shared.hypernetworks)
for index, name in enumerate(names):
item = self.create_item(name, index)