grmpf
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Sun, 5 Mar 2006 09:42:47 +0000 (09:42 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Sun, 5 Mar 2006 09:42:47 +0000 (09:42 +0000)
lib/python/Tools/Directories.py

index 6b321c3..121c7e8 100644 (file)
@@ -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):