Adjust error message

Also… Why a useless `pass` statement was ever committed ?
This commit is contained in:
Glandos 2021-07-04 00:20:23 +02:00
parent 639ce4facd
commit 63f8d7a25f

View file

@ -157,12 +157,11 @@ class EditProjectForm(FlaskForm):
raise ValidationError(
_(
(
"This project already uses different currencies"
"and can't be set to 'No Currency'"
"This project cannot be set to 'no currency'"
" because it contains bills in multiple currencies."
)
)
)
pass
def update(self, project):
"""Update the project with the information from the form"""