Browse Source

Fix misnamed function

tags/nilmdb-2.0.0
Jim Paris 4 years ago
parent
commit
3279f7ef2c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nilmdb/server/interval.pyx

+ 1
- 1
nilmdb/server/interval.pyx View File

@@ -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)


Loading…
Cancel
Save