[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,6 +1276,7 @@ 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]
if alts:
for alt in alts: for alt in alts:
self.library.collection_images[alt] = temp_data["collections"][k] self.library.collection_images[alt] = temp_data["collections"][k]
return self.library.image_sets[set_id] return self.library.image_sets[set_id]

Loading…
Cancel
Save