Closed dlenski closed 2 years ago
Thanks for this! Did you test these changes locally?
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.
@dlenski Thanks for that! I'll merge
print(..., flush=True)
before reading stdinemail.header.decode_header
(inconsistent behavior in Python 3.x)