Fix PEP8 errors in get_email

This commit is contained in:
Garret Wassermann 2018-03-04 02:14:39 -05:00
parent 6cb1ad740a
commit fef08082de

View File

@ -181,8 +181,8 @@ def process_queue(q, logger):
else:
raw_content = server.retr(msgNum)[1]
if type(raw_content[0]) is bytes:
full_message = "\n".join([elm.decode('utf-8') for elm in raw_content])
else :
full_message = "\n".join([elm.decode('utf-8') for elm in raw_content])
else:
full_message = encoding.force_text("\n".join(raw_content), errors='replace')
ticket = ticket_from_message(message=full_message, queue=q, logger=logger)