Skip to content

Commit 1456759

Browse files
authored
Allow All Freshmen Signatures (for real for real this time) (#375)
* improve all frosh signing capabilities * fix query error
1 parent 902895e commit 1456759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packet/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def create_new_packets(base_date: date, freshmen_list: dict) -> None:
200200
sig.drink_admin = member.uid in drink
201201
db.session.add(sig)
202202

203-
for frosh in Freshman.query.filter_by(Freshman.rit_username != freshman.rit_username).all():
203+
for frosh in Freshman.query.filter(Freshman.rit_username != freshman.rit_username).all():
204204
db.session.add(FreshSignature(packet=packet, freshman=frosh))
205205

206206
db.session.commit()

0 commit comments

Comments
 (0)