fix: [Mails] change module output

pull/497/head
Terrtia 2020-05-11 11:22:09 +02:00
parent 4d318643ce
commit 0dfddd318b
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -193,9 +193,9 @@ if __name__ == "__main__":
server_statistics.hincrby('mail_by_tld:{}'.format(item_date), tld, 1) server_statistics.hincrby('mail_by_tld:{}'.format(item_date), tld, 1)
msg = 'Mails;{};{};{};Checked {} e-mail(s);{}'.format(Item.get_source(item_id), item_date, Item.get_item_basename(item_id), num_valid_email, item_id) msg = 'Mails;{};{};{};Checked {} e-mail(s);{}'.format(Item.get_source(item_id), item_date, Item.get_item_basename(item_id), num_valid_email, item_id)
print(msg)
if num_valid_email > mail_threshold: if num_valid_email > mail_threshold:
print('{} Checked {} e-mail(s)'.format(item_id, num_valid_email))
publisher.warning(msg) publisher.warning(msg)
#Send to duplicate #Send to duplicate
p.populate_set_out(item_id, 'Duplicate') p.populate_set_out(item_id, 'Duplicate')