Fixed bug closing parenthesis in categ + changed behavior of sending to browseWarningPaste in Mail

pull/110/head
Mokaddem 2017-02-28 09:14:18 +01:00
parent f87c4393c6
commit 26eb5fdff0
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