fix content extraction for multipart mbna

This commit is contained in:
2025-04-24 18:47:45 -07:00
parent d1845cc5d9
commit d0f69611dc
2 changed files with 16 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ class MinimalBankParser(TransactionParser):
return msg["From"] == "Minimal Bank <alerts@minimalbank.com>" and "Transaction Alert" in msg["Subject"]
def extract(self, msg):
body = msg.get_content()
body = msg.get_body().get_content()
amount = ... # Extract amount from body
date = ... # Extract date from body
payee = ... # Extract payee from body