Skip to content

Commit

Permalink
[Fixes #11716] fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Nov 23, 2023
1 parent 5e399a4 commit 8e62c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/documents/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def clean(self):
raise forms.ValidationError(_("A document cannot have both a file and a url."))

if extension:
cleaned_data['extension'] = extension.replace(".", "")
cleaned_data["extension"] = extension.replace(".", "")

return cleaned_data

Expand Down

0 comments on commit 8e62c3c

Please sign in to comment.