destination directory will now be created recursively, if needed
This commit is contained in:
@@ -69,7 +69,7 @@ class QuadtreeGen(object):
|
|||||||
|
|
||||||
# Make the destination dir
|
# Make the destination dir
|
||||||
if not os.path.exists(destdir):
|
if not os.path.exists(destdir):
|
||||||
os.mkdir(destdir)
|
os.makedirs(os.path.abspath(destdir))
|
||||||
if tiledir is None:
|
if tiledir is None:
|
||||||
tiledir = rendermode
|
tiledir = rendermode
|
||||||
self.tiledir = tiledir
|
self.tiledir = tiledir
|
||||||
|
|||||||
Reference in New Issue
Block a user