From d2c9fc8394e1c4bd61032e647975d55b3320319f Mon Sep 17 00:00:00 2001 From: Glandos Date: Sun, 26 Jul 2020 00:40:58 +0200 Subject: [PATCH] (really) fix condition --- ihatemoney/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ihatemoney/forms.py b/ihatemoney/forms.py index 86cc4160..295475e1 100644 --- a/ihatemoney/forms.py +++ b/ihatemoney/forms.py @@ -312,7 +312,7 @@ class MemberForm(FlaskForm): and Person.query.filter( Person.name == field.data, Person.project == form.project, - Person.activated is True, + Person.activated, ).all() ): # NOQA raise ValidationError(_("This project already have this member"))