mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Clean up some useless prints
This commit is contained in:
@ -273,7 +273,6 @@ class UserUploadProfilePictView(CanEditMixin, DetailView):
|
||||
self.object = self.get_object()
|
||||
if self.object.profile_pict:
|
||||
raise ValidationError(_("User already has a profile picture"))
|
||||
print(request.FILES['new_profile_pict'])
|
||||
f = request.FILES['new_profile_pict']
|
||||
parent = SithFile.objects.filter(parent=None, name="profiles").first()
|
||||
name = str(self.object.id) + "_profile.jpg" # Webcamejs uploads JPGs
|
||||
|
Reference in New Issue
Block a user