mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 15:58:06 -05:00
Store a last_visit time on the Account thing.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user