From 52fcf570a3ba2ed013e4fa50d42528c0d46fd2cd Mon Sep 17 00:00:00 2001 From: Melik Manukyan Date: Mon, 4 Oct 2010 23:12:54 -0700 Subject: im stupid --- archey | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archey b/archey index a584106..48a034a 100644 --- a/archey +++ b/archey @@ -142,7 +142,7 @@ def ram_display(): if usedpercent <= 33: ramdisplay = '%s%s MB %s/ %s MB' % (greenB, used, clear, ram[1]) output('RAM', ramdisplay) - if usedpercent > 33 and usedpercentage < 67: + if usedpercent > 33 and usedpercent < 67: ramdisplay = '%s%s MB %s/ %s MB' % (whiteB, used, clear, ram[1]) output('RAM', ramdisplay) if usedpercent >= 67: @@ -289,7 +289,7 @@ def disk_display(): if usedpercent <= 33: fs = '%s%s %s/ %s' % (greenB, used, clear, size) output ('Disk', fs) - if usedpercent > 33 and usedpercentage < 67: + if usedpercent > 33 and usedpercent < 67: fs = '%s%s %s/ %s' % (yellowB, used, clear, size) output ('Disk', fs) if usedpercent >= 67: -- cgit v1.2.3