From 1b745365f45ee36373954918252721061dbbc9a6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 2 Jun 2015 13:46:29 +0530 Subject: [PATCH] ... --- src/calibre/srv/http_response.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/srv/http_response.py b/src/calibre/srv/http_response.py index 24ba6ba8a7..176aae3206 100644 --- a/src/calibre/srv/http_response.py +++ b/src/calibre/srv/http_response.py @@ -544,11 +544,11 @@ class HTTPConnection(HTTPRequest): return output def create_http_handler(handler): - static_cache = {} # noqa + static_cache = {} @wraps(handler) def wrapper(*args, **kwargs): ans = HTTPConnection(*args, **kwargs) ans.request_handler = handler - ans.static_cache = {} + ans.static_cache = static_cache return ans return wrapper