mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 05:01:48 +02:00
Adjust error message
Also… Why a useless `pass` statement was ever committed ?
This commit is contained in:
parent
639ce4facd
commit
63f8d7a25f
1 changed files with 2 additions and 3 deletions
|
@ -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"""
|
||||
|
|
Loading…
Reference in a new issue