From aa06ddd3cf1de03922fc4e45e46ef3476a69e3f8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 11 Oct 2020 16:15:15 +0200 Subject: add i18n and new menu structure to donations page --- talermerchantdemos/survey/survey.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'talermerchantdemos/survey') diff --git a/talermerchantdemos/survey/survey.py b/talermerchantdemos/survey/survey.py index 38065f1..871b417 100644 --- a/talermerchantdemos/survey/survey.py +++ b/talermerchantdemos/survey/survey.py @@ -125,17 +125,6 @@ def favicon(): mimetype="image/vnd.microsoft.ico" ) -## -# Return a error response to the client. -# -# @param abort_status_code status code to return along the response. -# @param params _kw_ arguments to passed verbatim to the templating engine. -def err_abort(abort_status_code, **params): - t = flask.render_template( - "templates/error.html.j2", - lang=get_locale(), - **params) - flask.abort(flask.make_response(t, abort_status_code)) ## # Tell the backend to 'authorize' a tip; this means that -- cgit v1.2.3