Fix off-by-one error
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Mon, 10 Mar 2008 04:44:39 +0000 (00:44 -0400)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Mon, 10 Mar 2008 04:44:39 +0000 (00:44 -0400)
ceo/console/inactive.py

index 5e71f9a..320d6c3 100644 (file)
@@ -17,5 +17,5 @@ class Inactive:
         term = "f0000"
         term = reduce(max_term, member.get("term", []), term)
         term = reduce(max_term, member.get("nonMemberTerm", []), term)
-        if terms.delta(term, terms.current()) > delta:
+        if terms.delta(term, terms.current()) >= delta:
             print "%s %s" % (member['uid'][0].ljust(12), term)