From a7a83f4a6ef1231cf670f097f53e82a8c2cc559e Mon Sep 17 00:00:00 2001 From: not-a-code-cel Date: Sun, 8 Aug 2021 21:20:36 -0700 Subject: [PATCH] Definitely pasted into the wrong function, on user profile pic delete null the highres url --- files/routes/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index 8701ca9c9..83daf8f7e 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -364,7 +364,7 @@ def settings_images_banner(v): @auth_required @validate_formkey def settings_delete_profile(v): - + v.highres = None v.profileurl = None g.db.add(v) return render_template("settings_profile.html", v=v, @@ -374,7 +374,7 @@ def settings_delete_profile(v): @auth_required @validate_formkey def settings_delete_banner(v): - v.highres = None + v.bannerurl = None g.db.add(v)