follow core event changes
[enigma2.git] / lib / python / Components / Harddisk.py
index ca77e56f962eb11f3fc87d0fab1405386de9b375..37e957e41db8658d4980deec6acc1ce2849f70ae 100644 (file)
@@ -1,5 +1,7 @@
 import os
 
+from Tools.Directories import *
+
 def tryOpen(filename):
        try:
                procFile = open(filename)
@@ -124,7 +126,7 @@ class Harddisk:
                return (res >> 8)
 
        def createMovieFolder(self):
-               res = os.system("mkdir /hdd/movies")
+               res = os.system("mkdir " + resolveFilename(SCOPE_HDD))
                return (res >> 8)
                
        errorList = [ _("Everything is fine"), _("Creating partition failed"), _("Mkfs failed"), _("Mount failed"), _("Create movie folder failed"), _("Unmount failed")]