summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/static.py2
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 + '/'