diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-29 23:33:59 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-29 23:33:59 +0000 |
| commit | 09bec48e92abda051445a3888767fff1081bbe22 (patch) | |
| tree | 96f0aeb2e1e0db3faba00044fc5d98b202e5c461 /lib/python/Components | |
| parent | d290a6895aaba9660184b2ac9c1bb90d81ae494c (diff) | |
| download | enigma2-09bec48e92abda051445a3888767fff1081bbe22.tar.gz enigma2-09bec48e92abda051445a3888767fff1081bbe22.zip | |
show error messages when hdd-init fails
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/Harddisk.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index 09864fc9..133e063f 100644 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -127,6 +127,8 @@ 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 |
