summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrski <rom.skiad@gmail.com>2014-11-15 19:35:52 +0000
committerrski <rom.skiad@gmail.com>2014-11-15 19:35:52 +0000
commit01f07a83b5345ae8d70cd67a8d7ba57aacce88a1 (patch)
tree5549a0acf92e076757a65edf0ba406f2fee7ebab
parent73101354dbf387dbf3d15e2f7c28e7d8ad757a72 (diff)
fix issue #24
-rwxr-xr-xarchey32
1 files changed, 1 insertions, 1 deletions
diff --git a/archey3 b/archey3
index 8998cf1..39c093a 100755
--- a/archey3
+++ b/archey3
@@ -287,7 +287,7 @@ class ramDisplay(display):
def format_output(self, instring):
ram = ''.join(line for line in str(instring).split('\n') if\
line.startswith('Mem:')).split()
- used = int(ram[2]) - int(ram[5]) - int(ram[6])
+ used = int(ram[2])
total = int(ram[1])
title = 'RAM'
try: