Fix error message syntax to allow translation extraction

This commit is contained in:
Baptiste Jonglez 2021-07-07 01:00:40 +02:00
parent 07b86bc580
commit dae7870b12

View file

@ -160,12 +160,10 @@ class EditProjectForm(FlaskForm):
):
raise ValidationError(
_(
(
"This project cannot be set to 'no currency'"
" because it contains bills in multiple currencies."
)
)
)
def update(self, project):
"""Update the project with the information from the form"""