master
Aevann1 2021-07-29 15:56:25 +02:00
parent c6f997f374
commit 71e269f5f6
1 changed files with 2 additions and 1 deletions

View File

@ -372,7 +372,8 @@ def settings_delete_profile(v):
@validate_formkey
def settings_delete_banner(v):
v.del_banner()
v.bannerurl = None
g.db.add(v)
return render_template("settings_profile.html", v=v,
msg="Banner successfully removed.")