fdsfsd
This commit is contained in:
parent
6be420aa3b
commit
fa0dee1b25
1 changed files with 2 additions and 2 deletions
|
@ -233,12 +233,12 @@ def settings_profile_post(v):
|
|||
def filters(v):
|
||||
filters=request.values.get("filters")[:1000].strip()
|
||||
|
||||
if filters == v.custom_filter_list: return render_template("settings_content.html", v=v, error="You didn't change anything")
|
||||
if filters == v.custom_filter_list: return render_template("settings_filters.html", v=v, error="You didn't change anything")
|
||||
|
||||
v.custom_filter_list=filters
|
||||
g.db.add(v)
|
||||
g.db.commit()
|
||||
return render_template("settings_content.html", v=v, msg="Your custom filters have been updated.")
|
||||
return render_template("settings_filters.html", v=v, msg="Your custom filters have been updated.")
|
||||
|
||||
@app.post("/changelogsub")
|
||||
@auth_required
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue