correction for list issue
This commit is contained in:
@@ -22,10 +22,10 @@ def get_all_not_used_mails():
|
||||
not_used_emails = []
|
||||
for mail_item in all_emails:
|
||||
if need_to_check_mail(mail_item.mail):
|
||||
_need_to_add = False
|
||||
_need_to_add = True
|
||||
for valid_contact in all_valid_contact_list:
|
||||
if valid_contact.mail == mail_item.mail:
|
||||
_need_to_add = True
|
||||
_need_to_add = False
|
||||
break
|
||||
if _need_to_add:
|
||||
not_used_emails.append(mail_item)
|
||||
|
||||
Reference in New Issue
Block a user