master
Aevann1 2021-10-16 16:45:48 +02:00
parent 720ea0a6e9
commit 92bde9abfb
1 changed files with 2 additions and 2 deletions

View File

@ -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