remove: bozo print
This commit is contained in:
		@ -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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user