From 01f07a83b5345ae8d70cd67a8d7ba57aacce88a1 Mon Sep 17 00:00:00 2001 From: rski Date: Sat, 15 Nov 2014 19:35:52 +0000 Subject: fix issue #24 --- archey3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-54-g00ecf