Merge pull request #110 from mokaddem/bugfix_categ

Fixed bug in Categ and Mail
pull/111/head
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( publisher.info(
'Categ;{};{};{};Detected {} as {};{}'.format( 'Categ;{};{};{};Detected {} as {};{}'.format(
paste.p_source, paste.p_date, paste.p_name, 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) publisher.warning(to_print)
#Send to duplicate #Send to duplicate
p.populate_set_out(filename, 'Duplicate') p.populate_set_out(filename, 'Duplicate')
p.populate_set_out('mail;{}'.format(filename), 'BrowseWarningPaste')
else: else:
publisher.info(to_print) publisher.info(to_print)
@ -69,7 +70,6 @@ if __name__ == "__main__":
for mail in MX_values[1]: for mail in MX_values[1]:
print 'mail;{};{};{}'.format(1, mail, PST.p_date) 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(1, mail, PST.p_date), 'ModuleStats')
p.populate_set_out('mail;{}'.format(filename), 'BrowseWarningPaste')
prec_filename = filename prec_filename = filename