From bc3a3dae02d8c2ffd56001d9fa44caeff7628a7c Mon Sep 17 00:00:00 2001 From: Son NK Date: Sun, 22 Mar 2020 16:56:08 +0100 Subject: [PATCH] reformat --- email_handler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/email_handler.py b/email_handler.py index 45db4099..254ffe97 100644 --- a/email_handler.py +++ b/email_handler.py @@ -551,7 +551,9 @@ def handle_bounce( file_path = None if orig_msg: file_path = f"refused-emails/{random_name}.eml" - s3.upload_email_from_bytesio(file_path, BytesIO(orig_msg.as_bytes()), random_name) + s3.upload_email_from_bytesio( + file_path, BytesIO(orig_msg.as_bytes()), random_name + ) refused_email = RefusedEmail.create( path=file_path, full_report_path=full_report_path, user_id=user.id