diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-03-05 21:44:35 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-03-05 21:44:35 +0000 |
| commit | 4256de6951e73b66cf57933f74ac1f41c954e95d (patch) | |
| tree | 4f4b4ba347e1f989f6b2afeb12142c2c1d6e0e59 /lib/python | |
| parent | aa4989974a32ab2437d51fb6352b3eb54cecd83d (diff) | |
| download | enigma2-4256de6951e73b66cf57933f74ac1f41c954e95d.tar.gz enigma2-4256de6951e73b66cf57933f74ac1f41c954e95d.zip | |
don't resolve absolute paths
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Tools/Directories.py | 5 |
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: |
