Message91729
using imaplib IMAP4_SSL, would fail at login due to TypeError, implicit
conversion from bytes object to string around line 1068 involving
function "_quote".
My fix:
def _quote(self, arg):
#Could not implicitly convert to bytes object to string
arg = arg.encode('utf-8') #added this line to solve problem
arg = arg.replace(b'\\', b'\\\\')
arg = arg.replace(b'"', b'\\"')
return b'"' + arg + b'"' |
|
Date |
User |
Action |
Args |
2009-08-19 13:18:00 | surprising42 | set | recipients:
+ surprising42 |
2009-08-19 13:18:00 | surprising42 | set | messageid: <1250687880.61.0.0161540410601.issue6734@psf.upfronthosting.co.za> |
2009-08-19 13:17:59 | surprising42 | link | issue6734 messages |
2009-08-19 13:17:58 | surprising42 | create | |
|