[135] read collection with no alt names

This commit is contained in:
meisnate12 2023-03-15 09:26:58 -04:00
parent 653f8f0f7c
commit 0f761586a3
2 changed files with 4 additions and 3 deletions

View file

@ -1 +1 @@
1.18.3-develop134
1.18.3-develop135

View file

@ -1276,8 +1276,9 @@ class MetadataFile(DataFile):
for k, alts in self.set_collections[set_name].items():
if k in temp_data["collections"]:
self.library.collection_images[k] = temp_data["collections"][k]
for alt in alts:
self.library.collection_images[alt] = temp_data["collections"][k]
if alts:
for alt in alts:
self.library.collection_images[alt] = temp_data["collections"][k]
return self.library.image_sets[set_id]
def get_collections(self, requested_collections):