Merge pull request #1 from zouguangxian/master

change mkdir to makedirs.
This commit is contained in:
Gered King 2014-03-18 08:04:47 -04:00
commit 95240e4c45

View file

@ -78,7 +78,7 @@ for i in os.listdir(workingDir):
# walk through them all and move the 'asset' files out and rename, building # walk through them all and move the 'asset' files out and rename, building
# the directory structure listed in the real filenames we found as we go # the directory structure listed in the real filenames we found as we go
os.mkdir(outputDir) os.makedirs(outputDir)
for asset in mapping: for asset in mapping:
path, filename = os.path.split(mapping[asset]) path, filename = os.path.split(mapping[asset])