diff --git a/filer/admin/imageadmin.py b/filer/admin/imageadmin.py index 8182a190d..c58ed6264 100644 --- a/filer/admin/imageadmin.py +++ b/filer/admin/imageadmin.py @@ -46,8 +46,7 @@ def clean_subject_location(self): for subject location widget to receive valid coordinates on field validation errors. """ - cleaned_data = super().clean() - subject_location = cleaned_data['subject_location'] + subject_location = self.cleaned_data['subject_location'] if not subject_location: # if supplied subject location is empty, do not check it return subject_location @@ -69,7 +68,7 @@ def clean_subject_location(self): else: return subject_location - self._set_previous_subject_location(cleaned_data) + self._set_previous_subject_location(self.cleaned_data) raise forms.ValidationError( string_concat( err_msg,