From e690a2c4d278ce7b655ac892f1a940ffbd8949c4 Mon Sep 17 00:00:00 2001 From: Keenan Tims Date: Sun, 23 Nov 2025 22:16:10 -0800 Subject: [PATCH] Fix Scotia parser wrong direction --- actual_imap_poll/parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actual_imap_poll/parsers.py b/actual_imap_poll/parsers.py index 1a0d9fc..b14c2f6 100644 --- a/actual_imap_poll/parsers.py +++ b/actual_imap_poll/parsers.py @@ -235,7 +235,7 @@ class ScotiaBankParser(TransactionParser): if matches is None: raise TransactionParsingFailed("no matches for extraction RE") - amount = Decimal(matches["amount"].replace(",", "")) + amount = Decimal(matches["amount"].replace(",", "")) * -1 date = parse_email_time(msg["Date"]).date() if matches["account"] not in self._account_map: