Store a last_visit time on the Account thing.

This commit is contained in:
Jason Harvey
2012-08-10 12:41:35 -07:00
parent 6bc99a48af
commit b71d8bf749

View File

@@ -225,6 +225,9 @@ class Account(Thing):
LastModified.touch(self._fullname, "Visit")
self.last_visit = int(time.time())
self._commit()
def make_cookie(self, timestr=None):
if not self._loaded:
self._load()