From 6936c9da9d76977858af146bcf2c04bd687c7483 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Fri, 12 Apr 2024 14:35:02 +0200 Subject: [PATCH] fix: albums are now also contained in the child song collection album attributes --- music_kraken/objects/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_kraken/objects/collection.py b/music_kraken/objects/collection.py index ad2890a..92617f0 100644 --- a/music_kraken/objects/collection.py +++ b/music_kraken/objects/collection.py @@ -58,7 +58,7 @@ class Collection(Generic[T]): self._indexed_values[name].add(value) 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(): __object.__getattribute__(attribute).contain_collection_inside(new_object)