diff --git a/kallithea/controllers/error.py b/kallithea/controllers/error.py --- a/kallithea/controllers/error.py +++ b/kallithea/controllers/error.py @@ -67,11 +67,6 @@ class ErrorController(BaseController): c.error_message = cgi.escape(request.GET.get('code', str(resp.status))) c.error_explanation = self.get_error_explanation(resp.status_int) - # redirect to when error with given seconds - c.redirect_time = 0 - c.redirect_module = _('Home page') - c.url_redirect = "/" - return render('/errors/error_document.html') def img(self, id): diff --git a/kallithea/templates/errors/error_document.html b/kallithea/templates/errors/error_document.html --- a/kallithea/templates/errors/error_document.html +++ b/kallithea/templates/errors/error_document.html @@ -8,9 +8,6 @@ - %if c.redirect_time: - - %endif @@ -43,13 +40,8 @@
${c.error_explanation}
- %if c.redirect_time: -${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}
- %endif - -