Skip to content

Commit

Permalink
Update reschedule.py
Browse files Browse the repository at this point in the history
  • Loading branch information
user1823 authored Jul 6, 2024
1 parent 28c06db commit b10580e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schedule/reschedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def apply_fuzz(self, ivl):
# Load balance
due = self.card.odue if self.card.odid else self.card.due
last_review = get_last_review_date(self.card)
if due - self.card.ivl + max_ivl <= mw.col.sched.today:
if last_review + max_ivl <= mw.col.sched.today:
# If the latest possible due date is in the past, skip load balance
return ivl

Expand Down

0 comments on commit b10580e

Please sign in to comment.