Skip to content

Commit

Permalink
Fix email send error (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
dispensable authored Aug 3, 2020
1 parent 2577c72 commit 1874de6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helpdesk/libs/notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ async def get_mail_addrs(self):
if self.phase.value in ('approval', 'mark'):
email_addrs += [get_user_email(self.ticket.submitter)]
email_addrs = ','.join(addr for addr in email_addrs if addr)
return email_addrs

async def send(self):
addrs = await self.get_mail_addrs()
Expand Down

0 comments on commit 1874de6

Please sign in to comment.