mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 05:01:48 +02:00
fix expression checked by new flake8
This commit is contained in:
parent
99cb0d5ff4
commit
97a35605bd
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ class MemberForm(FlaskForm):
|
|||
and Person.query.filter(
|
||||
Person.name == field.data,
|
||||
Person.project == form.project,
|
||||
Person.activated == True,
|
||||
Person.activated is True,
|
||||
).all()
|
||||
): # NOQA
|
||||
raise ValidationError(_("This project already have this member"))
|
||||
|
|
Loading…
Reference in a new issue