bamthomas / aioimaplib

Python asyncio IMAP4rev1 client library
GNU General Public License v3.0
135 stars 58 forks source link

Update imap_fetch.py example #89

Closed juanbretti closed 1 year ago

juanbretti commented 1 year ago

A small tweak. It must be binary. Else, there is an error: TypeError: endswith first arg must be bytes or a tuple of bytes, not str