From 26eb5fdff08487bb6bd379a3e41362f0520dee90 Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Tue, 28 Feb 2017 09:14:18 +0100 Subject: [PATCH] Fixed bug closing parenthesis in categ + changed behavior of sending to browseWarningPaste in Mail --- bin/Categ.py | 2 +- bin/Mail.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/Categ.py b/bin/Categ.py index be0dff17..986080d4 100755 --- a/bin/Categ.py +++ b/bin/Categ.py @@ -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)) diff --git a/bin/Mail.py b/bin/Mail.py index 161082b0..6ec938f3 100755 --- a/bin/Mail.py +++ b/bin/Mail.py @@ -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