From 2ce1356412401f715899b21db64f508bf1ff27c1 Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 6 Dec 2023 15:33:40 +0100 Subject: [PATCH] remove: bozo print --- profiles/viewsets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/profiles/viewsets.py b/profiles/viewsets.py index c9f7584..25bbd6f 100644 --- a/profiles/viewsets.py +++ b/profiles/viewsets.py @@ -26,7 +26,6 @@ class ProfileViewSet(viewsets.ModelViewSet): profile: ProfileModel = ProfileModel.objects.get(pk=self.request.user.pk) avatar = self.request.data.get("file", None) if (avatar is not None): - print(profile.avatar_url.name) if (profile.avatar_url.name != "default.avif"): profile.avatar_url.storage.delete(profile.avatar_url.name) profile.avatar_url = avatar