refactor: remove unused var

This commit is contained in:
Son NK 2020-05-16 12:55:53 +02:00
parent b167297808
commit 80f614da6c
1 changed files with 0 additions and 1 deletions

View File

@ -379,7 +379,6 @@ def forward_email_to_mailbox(
user,
) -> (bool, str):
LOG.d("Forward %s -> %s -> %s", contact, alias, mailbox)
spam_check = True
is_spam, spam_status = get_spam_info(msg)
if is_spam:
LOG.warning("Email detected as spam. Alias: %s, from: %s", alias, contact)