diff --git a/Flask/app.py b/Flask/app.py index a19a36c..e587ea1 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -332,7 +332,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 8f8ebd9..5835beb 100644 --- a/Flask/templates/config.html +++ b/Flask/templates/config.html @@ -129,10 +129,10 @@
- + - +