aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/presentation/utils.py')
-rw-r--r--resources/tools/presentation/utils.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/resources/tools/presentation/utils.py b/resources/tools/presentation/utils.py
index 0e72a06343..2fbf70cadc 100644
--- a/resources/tools/presentation/utils.py
+++ b/resources/tools/presentation/utils.py
@@ -36,10 +36,7 @@ def mean(items):
:rtype: float
"""
- if len(items):
- return float(sum(items)) / len(items)
- else:
- return None
+ return float(sum(items)) / len(items)
def stdev(items):