diff --git a/nilmdb/server/interval.pyx b/nilmdb/server/interval.pyx index 2db203c..8f31d28 100644 --- a/nilmdb/server/interval.pyx +++ b/nilmdb/server/interval.pyx @@ -67,7 +67,7 @@ cdef class Interval: return (self.start, self.end) > (other.start, other.end) def __le__(self, Interval other): return (self.start, self.end) <= (other.start, other.end) - def __le__(self, Interval other): + def __ge__(self, Interval other): return (self.start, self.end) >= (other.start, other.end) def __eq__(self, Interval other): return (self.start, self.end) == (other.start, other.end)