summaryrefslogtreecommitdiff
path: root/archey
diff options
context:
space:
mode:
Diffstat (limited to 'archey')
-rwxr-xr-xarchey3
1 files changed, 2 insertions, 1 deletions
diff --git a/archey b/archey
index ecb82f1..239b000 100755
--- a/archey
+++ b/archey
@@ -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)