fix: albums are now also contained in the child song collection album attributes

This commit is contained in:
Hazel 2024-04-12 14:35:02 +02:00
parent 28e1350b01
commit 6936c9da9d

View File

@ -58,7 +58,7 @@ class Collection(Generic[T]):
self._indexed_values[name].add(value) self._indexed_values[name].add(value)
self._indexed_to_objects[value].append(__object) self._indexed_to_objects[value].append(__object)
if not from_map or True: if not from_map:
for attribute, new_object in self.contain_given_in_attribute.items(): for attribute, new_object in self.contain_given_in_attribute.items():
__object.__getattribute__(attribute).contain_collection_inside(new_object) __object.__getattribute__(attribute).contain_collection_inside(new_object)