diff options
Diffstat (limited to 'lib/python/Tools')
| -rw-r--r-- | lib/python/Tools/Directories.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Tools/Directories.py b/lib/python/Tools/Directories.py index 3736b7b5..6c84216f 100644 --- a/lib/python/Tools/Directories.py +++ b/lib/python/Tools/Directories.py @@ -46,6 +46,9 @@ def resolveFilename(scope, base = ""): if path[1] == PATH_CREATE: if (not pathExists(defaultPaths[scope][0])): os.mkdir(path[0]) + + if base[0] == '/': + path = "" if not fileExists(path[0] + base): #try: |
