Browse Source

refactor: remove unused var

Son NK 5 years ago
parent
commit
80f614da6c
1 changed files with 0 additions and 1 deletions
  1. 0 1
      email_handler.py

+ 0 - 1
email_handler.py

@@ -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)