From 9eb7b66882b4c69c79ac80c21c4e53c55993fc10 Mon Sep 17 00:00:00 2001 From: Hellow Date: Fri, 3 Mar 2023 14:22:46 +0100 Subject: [PATCH] Update parents.py --- src/music_kraken/objects/parents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/music_kraken/objects/parents.py b/src/music_kraken/objects/parents.py index 8110173..58b235d 100644 --- a/src/music_kraken/objects/parents.py +++ b/src/music_kraken/objects/parents.py @@ -25,7 +25,7 @@ class DatabaseObject: self.dynamic = dynamic def merge(self, other, override: bool = False): - if type(other) != type(self): + if isinstance(other, type(self)): LOGGER.warning(f"can't merge \"{type(other)}\" into \"{type(self)}\"") return