summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelik Manukyan <melik@archlinux.us>2010-10-04 23:12:54 -0700
committerMelik Manukyan <melik@archlinux.us>2010-10-04 23:12:54 -0700
commit52fcf570a3ba2ed013e4fa50d42528c0d46fd2cd (patch)
tree89fda86b82aa854706a4b6d95a648d1450b7a857
parent4b07219fb7f0b22a735da5c1ecef627dd9c08500 (diff)
im stupid
-rw-r--r--archey4
1 files 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: