diff --git a/relational/rtypes.py b/relational/rtypes.py index a7bfa76..7108f7b 100644 --- a/relational/rtypes.py +++ b/relational/rtypes.py @@ -93,6 +93,8 @@ class Rdate: return Rdate(res.__str__()) def __eq__(self, other): + if not isinstance(other, Rdate): + return False return self.intdate == other.intdate def __ge__(self, other):