reenable fresh harddisk-init
[vuplus_dvbapp] / lib / python / Components / Harddisk.py
index 09864fc..ca77e56 100644 (file)
@@ -127,9 +127,10 @@ class Harddisk:
                res = os.system("mkdir /hdd/movies")
                return (res >> 8)
                
+       errorList = [ _("Everything is fine"), _("Creating partition failed"), _("Mkfs failed"), _("Mount failed"), _("Create movie folder failed"), _("Unmount failed")]
+
        def initialize(self):
-               if self.unmount() != 0:
-                       return -5
+               self.unmount()
 
                if self.createPartition() != 0:
                        return -1