fix content extraction for multipart mbna
This commit is contained in:
1 parent
d1845cc5d9
commit
d0f69611dc
2 files changed
+16
-7
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user