change mkdir to makedirs.
Use makedirs to create directory recursively.
This commit is contained in:
parent
5e67246efa
commit
3e3dcecf7f
|
@ -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])
|
||||||
|
|
Loading…
Reference in a new issue