From cc846505019153e2e056f57e3ef430d0fff3b87a Mon Sep 17 00:00:00 2001 From: "v.kaukin" Date: Wed, 22 Apr 2020 11:45:41 +0500 Subject: [PATCH] minor --- imap_tools/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap_tools/message.py b/imap_tools/message.py index 7ef310e..71c40dd 100644 --- a/imap_tools/message.py +++ b/imap_tools/message.py @@ -235,7 +235,7 @@ def payload(self) -> bytes: if isinstance(multipart_payload, list): for payload_item in multipart_payload: if hasattr(payload_item, 'as_bytes'): - payload_item_bytes = payload_item.as_bytes() + payload_item_bytes = payload_item.as_bytes() # noqa cte = str(self._part.get('content-transfer-encoding', '')).lower().strip() if payload_item_bytes and cte: if cte == 'base64':