summaryrefslogtreecommitdiffstats
path: root/src/lib/Statistics.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Statistics.py')
-rw-r--r--src/lib/Statistics.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Statistics.py b/src/lib/Statistics.py
index c3fdd4320..b2240db98 100644
--- a/src/lib/Statistics.py
+++ b/src/lib/Statistics.py
@@ -13,7 +13,7 @@ class Statistic(object):
if value > self.max:
self.max = value
self.count += 1
- self.ave = (((self.ave * (self.count - 1)) + value) / self.count )
+ self.ave = (((self.ave * (self.count - 1)) + value) / self.count)
def get_value(self):
return (self.name, (self.min, self.max, self.ave, self.count))
@@ -30,4 +30,3 @@ class Statistics(object):
def display(self):
return dict([value.get_value() for value in self.data.values()])
-