mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-14 17:29:40 +00:00
fix pre-commit after the 'stripe newlines from email block' PR (#1882)
This commit is contained in:
parent
8c4dd54e33
commit
64ad052ab3
1 changed files with 3 additions and 1 deletions
|
@ -1651,7 +1651,9 @@ class SendEmailBlock(Block):
|
|||
self, workflow_run_context: WorkflowRunContext, workflow_run_id: str
|
||||
) -> EmailMessage:
|
||||
msg = EmailMessage()
|
||||
msg["Subject"] = self.subject.strip().replace('\n', '').replace('\r', '') + f" - Workflow Run ID: {workflow_run_id}"
|
||||
msg["Subject"] = (
|
||||
self.subject.strip().replace("\n", "").replace("\r", "") + f" - Workflow Run ID: {workflow_run_id}"
|
||||
)
|
||||
msg["To"] = ", ".join(self.get_real_email_recipients(workflow_run_context))
|
||||
msg["BCC"] = self.sender # BCC the sender so there is a record of the email being sent
|
||||
msg["From"] = self.sender
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue