This commit is contained in:
Egor Matveev
2022-02-05 19:26:47 +03:00
parent 8dfb96f4bc
commit 1f3cf222de
2 changed files with 2 additions and 1 deletions

View File

@@ -62,7 +62,6 @@ class AccountView(BaseView):
f"Пользователь {self.request.user.username} отклонил твою заявку")
return "/account?username=" + self.request.GET["username"]
def post_upload_photo(self):
if self.request.user.userinfo.has_profile_pic:
delete_file(self.request.user.userinfo.profile_picture_fs_id)