fix content extraction for multipart mbna

This commit is contained in:
ktims committed 2025-04-24 18:47:45 -07:00
1 parent d1845cc5d9
commit d0f69611dc
2 files changed
+16 -7

No files matched your search

+1 -1
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