diff --git a/src/pylast/__init__.py b/src/pylast/__init__.py index e873964..d901c64 100644 --- a/src/pylast/__init__.py +++ b/src/pylast/__init__.py @@ -1505,7 +1505,7 @@ class _Opus(_Taggable): return f"{self.get_artist().get_name()} - {self.get_title()}" def __eq__(self, other): - if not isinstance(self, other): + if type(self) is not type(other): return False a = self.get_title().lower() b = other.get_title().lower()