--- a/entities/lib.py Fri Jun 05 18:54:39 2009 +0200 +++ b/entities/lib.py Mon Jun 08 18:29:35 2009 +0200 @@ -141,4 +141,7 @@ {'t': datetime.now(), 'x': self.eid}, 'x') def valid(self, date): - return date < self.timestamp + if date: + return date < self.timestamp + return False +