rgladwell / imap-upload

Python script for uploading a local mbox file to IMAP4 server.
Other
130 stars 30 forks source link

Small Python 3 fixes #29

Closed dlenski closed 2 years ago

dlenski commented 2 years ago
rgladwell commented 2 years ago

Thanks for this! Did you test these changes locally?

dlenski commented 2 years ago

Yes, tested and working locally.

The email.header.decode_header inconsistency (https://bugs.python.org/issue22833) was frustratingly hard to nail down, but dccbdd41cf14470d25d779185980ba83e0556abb does this trick.

rgladwell commented 2 years ago

@dlenski Thanks for that! I'll merge