Skip to content

Commit c1c849c

Browse files
committed
nit fix
1 parent d951f7e commit c1c849c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

home/utils/rebate_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def is_not_duplicate(student, new_rebate_start, new_rebate_end):
3434
< short_rebate.end_date
3535
):
3636
return False
37-
for long_rebate in LongRebate.objects.filteremail__iexact(email=student).all():
37+
for long_rebate in LongRebate.objects.filter(email__iexact=student).all():
3838
if (
3939
long_rebate.end_date
4040
> new_rebate_start

0 commit comments

Comments
 (0)