From c84be7acb36110724b665247e33283f375254d19 Mon Sep 17 00:00:00 2001 From: Nick Mohoric Date: Wed, 30 Sep 2015 13:13:43 -0400 Subject: [PATCH] Returning computed value from percent --- src/codacy/reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codacy/reporter.py b/src/codacy/reporter.py index 1ac917a..d1956df 100755 --- a/src/codacy/reporter.py +++ b/src/codacy/reporter.py @@ -28,7 +28,7 @@ def parse_report_file(report_file): # Convert decimal string to floored int percent value def percent(s): - float(s) * 100 + return float(s) * 100 # Parse the XML into the format expected by the API report_xml = minidom.parse(report_file)