diff options
author | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2010-11-21 11:32:11 +0000 |
---|---|---|
committer | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2010-11-21 11:32:11 +0000 |
commit | 8d44e50fe48e049f6c0bc1837c9c4e9d8d8026fe (patch) | |
tree | 0b65669c674728ffba84fa1f3cc9149a913dfcb5 | |
parent | be31b219fba56697fa34d43f7b24eb961e53fbc6 (diff) |
Fix syntax error in archey introduced in commit 1603bfb
-rwxr-xr-x | archey | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -88,6 +88,7 @@ sh_dict = { # Define Colour Scheme +clear = '\x1b[0m' blackB = '\x1b[0;30m' blackB = '\x1b[1;30m' redN = '\x1b[0;31m' @@ -286,7 +287,7 @@ def disk_display(): size = total.split()[2] usedpercent = float(re.sub("[A-Z]", "", used)) / float(re.sub("[A-Z]", "", size)) * 100 if usedpercent <= 33: - fs = '%s%s %s/ %s' % (greenB, used, , size) + fs = '%s%s %s/ %s' % (greenB, used, clear, size) output ('Disk', fs) if usedpercent > 33 and usedpercent < 67: fs = '%s%s %s/ %s' % (yellowB, used, clear, size) |