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( raise ValidationError(
_( _(
( (
"This project already uses different currencies" "This project cannot be set to 'no currency'"
"and can't be set to 'No Currency'" " because it contains bills in multiple currencies."
) )
) )
) )
pass
def update(self, project): def update(self, project):
"""Update the project with the information from the form""" """Update the project with the information from the form"""