changelog

This commit is contained in:
j 2014-05-20 02:43:54 +02:00
commit 0815ccd930
6 changed files with 32 additions and 33 deletions

View file

@ -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')