Mercurial > public > sg101
diff gpp/forums/models.py @ 116:19b64e8f02a2
Fix typo introduced in last commit.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 23 Oct 2009 03:08:40 +0000 |
parents | 0ce0104c7df3 |
children | 9c18250972d5 |
line wrap: on
line diff
--- 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)