summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurie Clark-Michalek <bluepeppers@archlinux.us>2010-11-07 14:11:50 +0000
committerLaurie Clark-Michalek <bluepeppers@archlinux.us>2010-11-07 14:11:50 +0000
commitb034f7a944836f15b41adeded3d9290f79d51a8f (patch)
treeae24761b33aa5e918d6f92df445334c882642c96
parent46411b6509ba78c4c698a6ef80aa48a4c561702a (diff)
Fixed minor bug that was causing reverse FS coloring
-rwxr-xr-xarchey32
1 files changed, 1 insertions, 1 deletions
diff --git a/archey3 b/archey3
index c74b2b2..9fb48ab 100755
--- a/archey3
+++ b/archey3
@@ -203,7 +203,7 @@ class fsDisplay(display):
try:
used_ = ''.join(c for c in used if c.isdigit())
total_ = ''.join(c for c in total if c.isdigit())
- persentage = 100 - (int(used_)/int(total_) * 100)
+ persentage = (int(used_)/int(total_) * 100)
except:
pass
else: