From dea978697e5c7c380ed665541e13d661c8f04c5e Mon Sep 17 00:00:00 2001 From: Josselin Date: Tue, 5 May 2020 07:48:42 +0200 Subject: [PATCH] Human summary printer: Fix information incorrectly printed --- slither/printers/summary/human_summary.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slither/printers/summary/human_summary.py b/slither/printers/summary/human_summary.py index b91628d1c..aa5961f40 100644 --- a/slither/printers/summary/human_summary.py +++ b/slither/printers/summary/human_summary.py @@ -236,7 +236,8 @@ class PrinterHumanSummary(AbstractPrinter): number_contracts, number_contracts_deps = self._number_contracts() txt += f'Number of contracts: {number_contracts} (+ {number_contracts_deps} in dependencies) \n\n' - txt, detectors_results, optimization, info, low, medium, high = self.get_detectors_result() + txt_detectors, detectors_results, optimization, info, low, medium, high = self.get_detectors_result() + txt += txt_detectors results['number_findings'] = { 'optimization_issues': optimization,