File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
patchwork/steps/SendEmail Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33import smtplib
44from email .mime .text import MIMEText
55
6+ from patchwork .common .utils .input_parsing import parse_to_list
67from patchwork .common .utils .utils import mustache_render
78from patchwork .step import Step
89from patchwork .steps .SendEmail .typed import SendEmailInputs , SendEmailOutputs
@@ -15,7 +16,7 @@ def __init__(self, inputs):
1516 self .subject = inputs .get ("subject" , "Patchwork Execution Email" )
1617 self .body = inputs .get ("body" , "Patchwork Execution Email" )
1718 self .sender_email = inputs ["sender_email" ]
18- self .recipient_email = inputs ["recipient_email" ]
19+ self .recipient_email = parse_to_list ( inputs ["recipient_email" ], [ " " , "," ])
1920 self .smtp_host = inputs .get ("smtp_host" , "smtp.gmail.com" )
2021 self .smtp_username = inputs ["smtp_username" ]
2122 self .smtp_password = inputs ["smtp_password" ]
You can’t perform that action at this time.
0 commit comments