fix "local variable 'alias_id' referenced before assignment"

This commit is contained in:
Son 2022-03-08 10:30:29 +01:00
parent ed089109bb
commit 89218fab7f
1 changed files with 1 additions and 1 deletions

View File

@ -1906,7 +1906,7 @@ def handle_unsubscribe(envelope: Envelope, msg: Message) -> str:
return status.E507
if not alias:
LOG.w("No such alias %s", alias_id)
LOG.w("Cannot parse alias from subject %s", subject)
return status.E508
mail_from = envelope.mail_from