From bfb4574c23208a536e9f879006fd320d96483840 Mon Sep 17 00:00:00 2001 From: Laurie Clark-Michalek Date: Mon, 22 Nov 2010 13:56:44 +0000 Subject: Fixed small problem with FS display module when showing root FS --- archey.new | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3-54-g00ecf