More testing

This commit is contained in:
Garret Wassermann 2018-02-07 02:53:40 -05:00
parent e0096d4821
commit 73698e8873

View File

@ -180,7 +180,7 @@ def process_queue(q, logger):
full_message = encoding.force_text("\n".join(server.retr(msgNum)[1]), errors='replace')
else:
popmsg = server.retr(msgNum)[1]
full_message = encoding.force_text(b"\n".join(popmsg), errors='replace')
full_message = encoding.force_text(b"\n".join(popmsg.encode()), errors='replace')
ticket = ticket_from_message(message=full_message, queue=q, logger=logger)
if ticket: