diff --git a/Flask/app.py b/Flask/app.py index 00461b0..c8c8602 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -174,7 +174,7 @@ def change_password(): global password if request.method == 'POST': password = request.form["password"] - subprocess.Popen([f"grafana-cli admin reset-admin-password {password}"]) + subprocess.Popen(["grafana-cli", "admin", "reset-admin-password", password]) with open("/app/MsRewards-Reborn/user_data/flask.json", "w") as inFile: data = { "password": password,