summaryrefslogtreecommitdiff
path: root/talermerchantdemos/survey
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-10-11 16:15:15 +0200
committerChristian Grothoff <christian@grothoff.org>2020-10-11 16:15:15 +0200
commitaa06ddd3cf1de03922fc4e45e46ef3476a69e3f8 (patch)
treec1b72c6ac23d657b0ca0eddf7078813731333cef /talermerchantdemos/survey
parent449f1d5765ffffcf2c708f4ccf6278e9c79081d0 (diff)
downloadtaler-merchant-demos-aa06ddd3cf1de03922fc4e45e46ef3476a69e3f8.tar.gz
taler-merchant-demos-aa06ddd3cf1de03922fc4e45e46ef3476a69e3f8.tar.bz2
taler-merchant-demos-aa06ddd3cf1de03922fc4e45e46ef3476a69e3f8.zip
add i18n and new menu structure to donations page
Diffstat (limited to 'talermerchantdemos/survey')
-rw-r--r--talermerchantdemos/survey/survey.py11
1 files changed, 0 insertions, 11 deletions
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