Fix payoff_months divergence guard when monthly_charges>0 #22
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: medium
Category: bug
Location:
debts.py:152-167Problem
Guard is
if monthly_charges==0 and b>=balance: return None; with ongoing charges exceeding payment it never fires and burns 600 iterations every page load before returning None.Suggested fix
Change to
if b >= balance: return None.Filed by automated code review.