diff --git a/voussoirkit/pathclass.py b/voussoirkit/pathclass.py index 1a1ebe7..7e264a7 100644 --- a/voussoirkit/pathclass.py +++ b/voussoirkit/pathclass.py @@ -30,6 +30,8 @@ class Extension: return bool(self.ext) def __eq__(self, other): + if isinstance(other, Extension): + return self.ext == other.ext other = self.prep(other) return self.ext == other