forked from MarseyWorld/MarseyWorld
fdsfsd
parent
720ea0a6e9
commit
92bde9abfb
|
@ -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…
Reference in New Issue