0

destination directory will now be created recursively, if needed

This commit is contained in:
Aaron Griffith
2011-04-16 11:18:46 -04:00
parent 1ef6efab8d
commit f30a5db2a1

View File

@@ -69,7 +69,7 @@ class QuadtreeGen(object):
# Make the destination dir
if not os.path.exists(destdir):
os.mkdir(destdir)
os.makedirs(os.path.abspath(destdir))
if tiledir is None:
tiledir = rendermode
self.tiledir = tiledir