summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurie Clark-Michalek <bluepeppers@archlinux.us>2010-11-22 13:56:44 +0000
committerLaurie Clark-Michalek <bluepeppers@archlinux.us>2010-11-22 13:56:44 +0000
commitbfb4574c23208a536e9f879006fd320d96483840 (patch)
tree3c1d065c60d8e86f7af42852d3d6adf20a460d1d
parent918cdeb222e4bdb936f9c21e9108877215565f2b (diff)
Fixed small problem with FS display module when showing root FS
-rw-r--r--archey.new2
1 files changed, 1 insertions, 1 deletions
diff --git a/archey.new b/archey.new
index 5d2b25f..edae67e 100644
--- a/archey.new
+++ b/archey.new
@@ -460,7 +460,7 @@ class FileSystem(BaseDisplay):
def get_key(self):
path = self.arguments[0]
- name = path.split('/')[-1]
+ name = path.split('/')[-1] or 'Root'
return '{0} FS'.format(name.capitalize())
def process_output(self, stdout, stderr):