Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/readers.py
diff options
context:
space:
mode:
authorAgustin Zubiaga <aguz@sugarlabs.org>2012-02-14 00:10:52 (GMT)
committer Agustin Zubiaga <aguz@sugarlabs.org>2012-02-14 00:10:52 (GMT)
commit3eddead0d1572ae37d58937e8ce9abf8badd6cb9 (patch)
tree18977e411d6229a478d41b1e9bc57ee176767d09 /readers.py
parentc6c7743e7c66912c61f2e9ef7df7b4f8943cbdf1 (diff)
Use the locale decimal separator
e.g. if my decimal separator is "," , SimpleGraph change 4.5 to 4,5 Signed-off-by: Agustin Zubiaga <aguz@sugarlabs.org>
Diffstat (limited to 'readers.py')
-rw-r--r--readers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/readers.py b/readers.py
index 2b0f269..9674125 100644
--- a/readers.py
+++ b/readers.py
@@ -44,7 +44,7 @@ class StopWatch():
for i in self.data[-1][num]:
marks_count += 1
- chart_data.append((str(marks_count), i))
+ chart_data.append((str(marks_count), round(i, 2)))
return chart_data