We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66bceec + 41b9112 commit eb74763Copy full SHA for eb74763
1 file changed
conditional/util/member.py
@@ -201,7 +201,7 @@ def gatekeep_status(username):
201
)
202
.filter(
203
MemberCommitteeAttendance.uid == username,
204
- CommitteeMeeting.approved is True,
+ bool(CommitteeMeeting.approved),
205
CommitteeMeeting.timestamp >= semester_start,
206
207
.count()
@@ -214,7 +214,7 @@ def gatekeep_status(username):
214
215
216
MemberSeminarAttendance.uid == username,
217
- TechnicalSeminar.approved is True,
+ bool(TechnicalSeminar.approved),
218
TechnicalSeminar.timestamp >= semester_start,
219
220
0 commit comments