From d058aca619ad16cf31c28466e94d237769cbbd05 Mon Sep 17 00:00:00 2001 From: Graham Blair Date: Thu, 1 Aug 2024 09:23:44 -0700 Subject: [PATCH] Fix logging --- splitwise_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/splitwise_helper.py b/splitwise_helper.py index ef0e265..6426a9a 100644 --- a/splitwise_helper.py +++ b/splitwise_helper.py @@ -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: