aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/forms.py
diff options
context:
space:
mode:
authorGlandos <bugs-github@antipoul.fr>2020-07-26 18:21:55 +0200
committerGitHub <noreply@github.com>2020-07-26 18:21:55 +0200
commit040d76af83411fb58ab400dc4eac909191a3e5fa (patch)
tree4c6b18178bf13934398c9b1617a9ac1df3519cdb /ihatemoney/forms.py
parent21c193710c1dbbef089563d1b8e80b7566b45ce3 (diff)
downloadihatemoney-mirror-040d76af83411fb58ab400dc4eac909191a3e5fa.zip
ihatemoney-mirror-040d76af83411fb58ab400dc4eac909191a3e5fa.tar.gz
ihatemoney-mirror-040d76af83411fb58ab400dc4eac909191a3e5fa.tar.bz2
Relax pin point dependencies (#660)
* Please don't pin point releases and future releases Fixes #658 * fix expression checked by new flake8 * (really) fix condition * ensure Flask-WTF is ok * don't forget, it's >= not > Co-authored-by: Glandos <bugs-framagit@antipoul.fr>
Diffstat (limited to 'ihatemoney/forms.py')
-rw-r--r--ihatemoney/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/forms.py b/ihatemoney/forms.py
index 8fd13f6..295475e 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 == True,
+ Person.activated,
).all()
): # NOQA
raise ValidationError(_("This project already have this member"))