# HG changeset patch # User Brian Neal # Date 1256267320 0 # Node ID 19b64e8f02a2091e04d1f5b3eaf7baa7645a8445 # Parent 0ce0104c7df3156f63229a66187e22bafa456bc2 Fix typo introduced in last commit. diff -r 0ce0104c7df3 -r 19b64e8f02a2 gpp/forums/models.py --- a/gpp/forums/models.py Thu Oct 22 02:57:18 2009 +0000 +++ b/gpp/forums/models.py Fri Oct 23 03:08:40 2009 +0000 @@ -331,7 +331,7 @@ self.last_visit.strftime('%Y-%m-%d %H:%M:%S')) def save(self, *args, **kwargs): - if self.id is one: + if self.id is None: self.touch() super(TopicLastVisit, self).save(*args, **kwargs)