give more feedback on action
This commit is contained in:
@@ -20,4 +20,6 @@ def index_post():
|
||||
if request.method == 'POST':
|
||||
with open(app.config.get("MESSAGE_FILE"), 'w') as f:
|
||||
f.write(str(input_message))
|
||||
return redirect("/")
|
||||
result = "Success: The autoreply message has been updated!"
|
||||
|
||||
return render_template("result.html", result=result)
|
||||
|
||||
Reference in New Issue
Block a user