Fix :smart

Wasn't using the right way
master
pictuga 2014-11-08 21:22:07 +01:00
parent c5e3aa664a
commit 6f2061ff37
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ def cgi_app(environ, start_response):
DEBUG = options.debug
if 'HTTP_IF_NONE_MATCH' in environ:
options.last = int(environ['HTTP_IF_NONE_MATCH'][1:-1])
options['last'] = int(environ['HTTP_IF_NONE_MATCH'][1:-1])
if not options.force and not options.facebook and time.time() - options.last < DELAY:
headers['status'] = '304 Not Modified'
start_response(headers['status'], headers.items())