mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
fix: [Mails] change module output
This commit is contained in:
parent
4d318643ce
commit
0dfddd318b
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue