perf: 多节点发送文件失败

pull/9019/head
feng 2022-11-04 11:15:34 +08:00
parent e995e3b35a
commit 8b05bc4b82
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class AccountBackupExecutionTaskMsg(object):
name)
def publish(self, attachment_list=None):
send_mail_attachment_async.delay(
send_mail_attachment_async(
self.subject, self.message, [self.user.email], attachment_list
)
@ -44,6 +44,6 @@ class ChangeSecretExecutionTaskMsg(object):
name)
def publish(self, attachments=None):
send_mail_attachment_async.delay(
send_mail_attachment_async(
self.subject, self.message, [self.user.email], attachments
)