X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/ee34dc9997d200a8021332dd639c2cf3a92b21cd..759a94e910f4f45d11aac2635fc0b6df1149cd3c:/lib/python/Screens/About.py 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"], {