aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-06-16 13:39:43 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-06-16 13:39:43 +0000
commitb8a65b61dd540e287d3b607fd8711c9250db0c5b (patch)
tree57c67b2da83f1c4efc0bb420ee05f51a2ef9ac01 /lib/python
parentd20e65f61157ef6fa38b67752067c3fa1e536d3c (diff)
downloadenigma2-b8a65b61dd540e287d3b607fd8711c9250db0c5b.tar.gz
enigma2-b8a65b61dd540e287d3b607fd8711c9250db0c5b.zip
use os.path.join instead of string concat to fix trailing slash issue
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Tools/Directories.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Tools/Directories.py b/lib/python/Tools/Directories.py
index 7c50bd9f..f7be9535 100644
--- a/lib/python/Tools/Directories.py
+++ b/lib/python/Tools/Directories.py
@@ -46,7 +46,7 @@ def resolveFilename(scope, base = "", path_prefix = None):
if base[0:2] == "~/":
# you can only use the ~/ if we have a prefix directory
assert path_prefix is not None
- base = path_prefix + base[2:]
+ base = os.path.join(path_prefix, base[2:])
# don't resolve absolute paths
if base[0:1] == '/':