slimta / python-slimta

Python libraries to send, receive, and queue email.
https://slimta.org/
MIT License
171 stars 43 forks source link

Re-open standard I/O as binary files #155

Closed icgood closed 5 years ago

icgood commented 5 years ago

Fix:

  File "/home/ian/dev/python-slimta/slimta/util/system.py", line 91, in redirect_stdio
    se = open(stderr or nullfile, 'a+', 0)
ValueError: can't have unbuffered text I/O