Merge pull request #110 from mokaddem/bugfix_categ

Fixed bug in Categ and Mail
This commit is contained in:
mokaddem 2017-02-28 09:26:05 +01:00 committed by GitHub
commit 01f1545ac0
2 changed files with 2 additions and 2 deletions

View file

@ -98,4 +98,4 @@ if __name__ == "__main__":
publisher.info(
'Categ;{};{};{};Detected {} as {};{}'.format(
paste.p_source, paste.p_date, paste.p_name,
len(found), categ), paste.p_path)
len(found), categ, paste.p_path))

View file

@ -62,6 +62,7 @@ if __name__ == "__main__":
publisher.warning(to_print)
#Send to duplicate
p.populate_set_out(filename, 'Duplicate')
p.populate_set_out('mail;{}'.format(filename), 'BrowseWarningPaste')
else:
publisher.info(to_print)
@ -69,7 +70,6 @@ if __name__ == "__main__":
for mail in MX_values[1]:
print 'mail;{};{};{}'.format(1, mail, PST.p_date)
p.populate_set_out('mail;{};{};{}'.format(1, mail, PST.p_date), 'ModuleStats')
p.populate_set_out('mail;{}'.format(filename), 'BrowseWarningPaste')
prec_filename = filename