Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
grablair committed Aug 1, 2024
1 parent 1e1be85 commit d058aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions splitwise_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ def handle_personal_loans(self, loans):
interest = max(0, balance_to_accrue * (rate / 12))

logger.info(f" Current total: ${current_total}")
logger.info(f" Balance to accrue: ${current_total}")
logger.info(f" Interest: ${current_total}")
logger.info(f" Balance to accrue: ${balance_to_accrue}")
logger.info(f" Interest: ${interest}")

if not any("Personal Loan Interest" in e.getDescription() or "LOANSTART" in e.getDescription() for e in expenses):
if interest > 0:
Expand Down

0 comments on commit d058aca

Please sign in to comment.