aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Tools/Directories.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Tools/Directories.py')
-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 6b321c32..121c7e82 100644
--- a/lib/python/Tools/Directories.py
+++ b/lib/python/Tools/Directories.py
@@ -47,7 +47,7 @@ def resolveFilename(scope, base = ""):
if (not pathExists(defaultPaths[scope][0])):
os.mkdir(path[0])
- if len(base > 0) and base[0] == '/':
+ if len(base) > 0 and base[0] == '/':
path = ""
if not fileExists(path[0] + base):