aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-03-05 21:44:35 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-03-05 21:44:35 +0000
commit4256de6951e73b66cf57933f74ac1f41c954e95d (patch)
tree4f4b4ba347e1f989f6b2afeb12142c2c1d6e0e59 /lib
parentaa4989974a32ab2437d51fb6352b3eb54cecd83d (diff)
downloadenigma2-4256de6951e73b66cf57933f74ac1f41c954e95d.tar.gz
enigma2-4256de6951e73b66cf57933f74ac1f41c954e95d.zip
don't resolve absolute paths
Diffstat (limited to 'lib')
-rw-r--r--lib/python/Tools/Directories.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/Tools/Directories.py b/lib/python/Tools/Directories.py
index e667029e..123e1bf8 100644
--- a/lib/python/Tools/Directories.py
+++ b/lib/python/Tools/Directories.py
@@ -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: