Clean up some useless prints

This commit is contained in:
Skia
2016-09-26 11:16:14 +02:00
parent 7a2985b186
commit 37072e1640
2 changed files with 0 additions and 2 deletions

View File

@ -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