Skip to content

Commit 0fad569

Browse files
committed
fixed my stupidity
1 parent 2eb23c8 commit 0fad569

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packet/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def remove_sig(packet_id: int, username: str, is_member: bool) -> None:
194194
db.session.commit()
195195
print('Successfully unsigned packet')
196196
else:
197-
print('Failed to unsign packet; could not find signature'.format(username))
197+
print('Failed to unsign packet; could not find signature')
198198

199199

200200
@app.cli.command('remove-member-sig')

packet/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ 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 freshman in Freshman.query.filter_by(Freshman.rit_username != freshman.rit_username).all():
204-
db.session.add(FreshSignature(packet=packet, freshman=freshman))
203+
for frosh in Freshman.query.filter_by(Freshman.rit_username != freshman.rit_username).all():
204+
db.session.add(FreshSignature(packet=packet, freshman=frosh))
205205

206206
db.session.commit()
207207

0 commit comments

Comments
 (0)