fix: 账户备份邮件发送找不到文件bug

pull/9096/head
halo 2022-11-17 15:27:08 +08:00 committed by Jiangjie.Bai
parent a42641ca9a
commit 1b99a7e06f
1 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,6 @@ class AccountBackupExecutionTaskMsg(object):
"please go to personal information -> file encryption password to set the encryption password").format(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
)