[135] read collection with no alt names

pull/1343/head
meisnate12 2 years ago
parent 653f8f0f7c
commit 0f761586a3

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

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

Loading…
Cancel
Save