diff options
| -rw-r--r-- | pyramid/static.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/static.py b/pyramid/static.py index 2a6dabe71..5d1bfbcfa 100644 --- a/pyramid/static.py +++ b/pyramid/static.py @@ -134,7 +134,7 @@ class static_view(object): if not exists(filepath): return HTTPNotFound(request.url) - return self.FileResponse(filepath ,self.cache_max_age) + return FileResponse(filepath ,self.cache_max_age) def add_slash_redirect(self, request): url = request.path_url + '/' |
