diff options
Diffstat (limited to 'peekaboo/sample.py')
-rw-r--r-- | peekaboo/sample.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/peekaboo/sample.py b/peekaboo/sample.py index 7449e79..f6ae9b6 100644 --- a/peekaboo/sample.py +++ b/peekaboo/sample.py @@ -295,8 +295,8 @@ class Sample(object): """ Add a rule result to the sample. This also adds a message about this to the report and updates the overall analysis result (so far). """ - logger.debug('Adding rule result %s' % str(res)) - self.__report.append(_("File \"%s\": %s") % (self.__filename, str(res))) + logger.debug('Adding rule result %s', res) + self.__report.append(_("File \"%s\": %s") % (self.__filename, res)) logger.debug("Current overall result: %s, new rule result: %s", self.__result, res.result) |