From e38934976a79ed2e76b30005b9a2d9e10ccd7ff4 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 14 Aug 2007 20:10:55 +0000 Subject: [PATCH] Fix arg. --- sphinx/web/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/web/application.py b/sphinx/web/application.py index aa136934d..4047d17e8 100644 --- a/sphinx/web/application.py +++ b/sphinx/web/application.py @@ -679,7 +679,7 @@ class DocumentationApplication(object): try: if req.path == '/favicon.ico': # TODO: change this to real favicon? - resp = self.get_error_404() + resp = self.get_error_404(req) elif req.path == '/robots.txt': resp = Response(robots_txt, mimetype='text/plain') elif not req.path.endswith('/') and req.method == 'GET':