mirror of
https://github.com/simple-login/app.git
synced 2025-02-22 23:02:55 +08:00
reformat
This commit is contained in:
parent
86ef7f54d9
commit
bc3a3dae02
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue