Renamer error because of wrong variables

This commit is contained in:
Ruud
2012-01-08 16:03:07 +01:00
parent 52e03b546d
commit 6bf6ffd4f8
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ class Plugin(object):
def makeDir(self, path):
try:
if not os.path.isdir(path):
os.makedirs(path, Env.getValuePermission('folder'))
os.makedirs(path, Env.getPermission('folder'))
return True
except Exception, e:
log.error('Unable to create folder "%s": %s' % (path, e))