refactor: remove unused var
This commit is contained in:
parent
b167297808
commit
80f614da6c
|
@ -379,7 +379,6 @@ def forward_email_to_mailbox(
|
||||||
user,
|
user,
|
||||||
) -> (bool, str):
|
) -> (bool, str):
|
||||||
LOG.d("Forward %s -> %s -> %s", contact, alias, mailbox)
|
LOG.d("Forward %s -> %s -> %s", contact, alias, mailbox)
|
||||||
spam_check = True
|
|
||||||
is_spam, spam_status = get_spam_info(msg)
|
is_spam, spam_status = get_spam_info(msg)
|
||||||
if is_spam:
|
if is_spam:
|
||||||
LOG.warning("Email detected as spam. Alias: %s, from: %s", alias, contact)
|
LOG.warning("Email detected as spam. Alias: %s, from: %s", alias, contact)
|
||||||
|
|
Loading…
Reference in New Issue