diff --git a/tpv/core/entities.py b/tpv/core/entities.py index 15c4fa1..f568ceb 100644 --- a/tpv/core/entities.py +++ b/tpv/core/entities.py @@ -100,7 +100,7 @@ def can_combine(self, other: TagSetManager) -> bool: return True def inherit(self, other) -> TagSetManager: - assert type(self) == type(other) + assert type(self) is type(other) new_tag_set = TagSetManager() new_tag_set.add_tag_overrides(other.filter(TagType.ACCEPT)) new_tag_set.add_tag_overrides(other.filter(TagType.PREFER))