aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/About.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/python/Screens/About.py b/lib/python/Screens/About.py
index 542bee6a..5359b26b 100644
--- a/lib/python/Screens/About.py
+++ b/lib/python/Screens/About.py
@@ -21,8 +21,10 @@ class About(Screen):
self["hdd"] = Label("Detected HDD:")
hdd = Harddisk(0)
- self["hddA"] = Label("%s (%s, %d MB free)" % (hdd.model(), hdd.capacity(),hdd.free()))
- #self["hddA"] = Label("Seagate 398 GByte (323 GByte free)")
+ if hdd.model() != "":
+ self["hddA"] = Label("%s (%s, %d MB free)" % (hdd.model(), hdd.capacity(),hdd.free()))
+ else:
+ self["hddA"] = Label("none")
self["actions"] = ActionMap(["SetupActions"],
{