Skip to content

Commit

Permalink
style: black
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoStorm96 committed Jan 6, 2025
1 parent bf72a7a commit 712a491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proposals/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,8 +884,8 @@ def clean(self):
form_errors = validator.get_form_errors()

if form_errors:
#If there are only errors on the submit form, we override this
#validation. Otherwise saving the updated data becomes impossible
# If there are only errors on the submit form, we override this
# validation. Otherwise saving the updated data becomes impossible
if len(form_errors) == 1 and form_errors[0]["page_name"] == _("Indienen"):
return
self.add_error(
Expand Down

0 comments on commit 712a491

Please sign in to comment.