summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--talersurvey/survey/survey.py2
-rw-r--r--talersurvey/survey/templates/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/talersurvey/survey/survey.py b/talersurvey/survey/survey.py
index c5b72b5..d235bc3 100644
--- a/talersurvey/survey/survey.py
+++ b/talersurvey/survey/survey.py
@@ -99,7 +99,7 @@ def internal_error(e):
stack=traceback.format_exc())
@app.route("/survey-stats", methods=["GET"])
-def survey_stats(e):
+def survey_stats():
stats = backend_get("tip-query", instance="default")
return flask.render_template("survey_stats.html", stats=stats)
diff --git a/talersurvey/survey/templates/index.html b/talersurvey/survey/templates/index.html
index e1ca8ce..e58e669 100644
--- a/talersurvey/survey/templates/index.html
+++ b/talersurvey/survey/templates/index.html
@@ -4,7 +4,7 @@
<div>
<p>
In this page, you can participate in our survey about payment systems
- and get a nice tip - via your Taler wallet - from this shop! <a href={{ url_for('survey_stats') }}>(surve stats)</a>
+ and get a nice tip - via your Taler wallet - from this shop! <a href={{ url_for('survey_stats') }}>(survey stats)</a>
</p>
</div>
<div>