indigo icon indicating copy to clipboard operation
indigo copied to clipboard

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

Open sentry-io[bot] opened this issue 8 months ago • 0 comments

Sentry Issue: INDIGO-LAWSAFRICA-1KJ

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
(8 additional frame(s) were not displayed)
...
  File "indigo_app/views/base.py", line 55, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "indigo_social/views.py", line 76, in form_valid
    resp = super().form_valid(form)
  File "indigo_social/forms.py", line 60, in save
    self.instance.profile_photo = process_profile_photo(self.cleaned_data['new_profile_photo'])
  File "indigo_social/forms.py", line 101, in process_profile_photo
    uploaded_photo = uploaded_photo.resize((200, 200), Image.ANTIALIAS)

sentry-io[bot] avatar Jul 04 '24 11:07 sentry-io[bot]