MacroMilter
MacroMilter copied to clipboard
Debian 10: Add default encoding (sys.setdefaultencoding)
Hello Thanks for this great code. I had issues decoding attachments. Adding the 2 lines shown below fixed the errors in Debian 10. (Python 2.7.16)
reload(sys)
sys.setdefaultencoding('UTF-8')
Best