one last exciting unicode fix

workspace
Brendan Howell 8 years ago
parent ac9d760869
commit 584595232c

@ -303,7 +303,7 @@ class MailRoom(Bureau):
for msgid, data in resp.items(): for msgid, data in resp.items():
#msg = self._make_msg_object(msgid, data) #msg = self._make_msg_object(msgid, data)
msg = Message() msg = Message()
shortcode = self._imap2shortcode(msgid).decode("utf-8") shortcode = self._imap2shortcode(msgid)
envelope = data[b"ENVELOPE"] envelope = data[b"ENVELOPE"]
msg.msgid = str(msgid) msg.msgid = str(msgid)

Loading…
Cancel
Save