don't resolve absolute paths
[enigma2.git] / lib / python / Tools / Directories.py
index e667029..123e1bf 100644 (file)
@@ -41,6 +41,11 @@ fallbackPaths = {
        }
 
 def resolveFilename(scope, base = ""):
+
+       # don't resolve absolute paths
+       if len(base) and base[0] == '/':
+               return base
+
        path = defaultPaths[scope]
 
        if path[1] == PATH_CREATE: