mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix arg.
This commit is contained in:
parent
7e2a3c7b6a
commit
e38934976a
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user