From 6ddf008b1f929c76a989a9f13dbfbdc2dc3dec64 Mon Sep 17 00:00:00 2001 From: nsde Date: Tue, 1 Aug 2023 01:21:59 +0200 Subject: [PATCH] Small fixes --- web/app.py | 2 +- web/templates/legal/terms.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app.py b/web/app.py index b646406..c3243d3 100644 --- a/web/app.py +++ b/web/app.py @@ -84,7 +84,7 @@ def create_app() -> flask.Flask: data = json.load(open('data/tos.json', encoding='utf8')) del data[code] - json.dump(secrets, open('data/tos.json', 'w', encoding='utf8')) + json.dump(data, open('data/tos.json', 'w', encoding='utf8')) return 'Removed.', 204 diff --git a/web/templates/legal/terms.html b/web/templates/legal/terms.html index 927bff7..282aafd 100644 --- a/web/templates/legal/terms.html +++ b/web/templates/legal/terms.html @@ -75,7 +75,7 @@ {% if verify %}

- Because you just ran /key: + Because you just ran /credentials: If you accept both the privacy policy and terms of service, answer with the emoji below . Tip: you can use the search feature to find the emoji more quickly.