diff --git a/Flask/app.py b/Flask/app.py index 706a18a..b25aace 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -342,7 +342,7 @@ def config_post(): with open("/app/MsRewards-Reborn/user_data/configs.json", "r") as inFile: configs = json.load(inFile) - if action["data"] == "delete": + if action["action"] == "delete": print(action["config"]) configs.pop(action["config"]) else : diff --git a/Flask/templates/config.html b/Flask/templates/config.html index a751450..de495e3 100644 --- a/Flask/templates/config.html +++ b/Flask/templates/config.html @@ -129,10 +129,10 @@
- + - +