changelog
This commit is contained in:
parent
cfa8b2686b
commit
0815ccd930
6 changed files with 32 additions and 33 deletions
|
|
@ -83,7 +83,7 @@ class ReaderHandler(OMLHandler):
|
|||
self.set_status(404)
|
||||
self.finish()
|
||||
return
|
||||
item.sort_accessed = item.accessed = datetime.now()
|
||||
item.sort_accessed = item.accessed = datetime.utcnow()
|
||||
item.sort_timesaccessed = item.timesaccessed = (item.timesaccessed or 0) + 1
|
||||
item.save()
|
||||
return serve_static(self, os.path.join(settings.static_path, html), 'text/html')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue