aboutsummaryrefslogtreecommitdiffstats
path: root/examples/charts/memoryusage.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts/memoryusage.py')
-rw-r--r--examples/charts/memoryusage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/charts/memoryusage.py b/examples/charts/memoryusage.py
index 5842e4c..c0e0a38 100644
--- a/examples/charts/memoryusage.py
+++ b/examples/charts/memoryusage.py
@@ -66,7 +66,7 @@ def getMemoryUsage():
command = line[0:23].strip()
if command.endswith('.exe'):
command = command[0:len(command) - 4]
- memoryUsage = float(line[64:74].strip().replace(',', ''))
+ memoryUsage = float(line[64:74].strip().replace(',', '').replace('.', ''))
legend = ''
if memoryUsage > 10240:
legend = '{} {}M'.format(command, round(memoryUsage / 1024))