0

should still make the tiledir even if destdir exists

This commit is contained in:
Andrew Brown
2010-09-06 22:17:10 -04:00
parent 4bbdf17bd5
commit dfc336e46a

View File

@@ -41,9 +41,9 @@ def main():
if not os.path.exists(destdir):
os.mkdir(destdir)
tiledir = os.path.join(destdir, "tiles");
if not os.path.exists(tiledir):
os.mkdir(tiledir)
tiledir = os.path.join(destdir, "tiles");
if not os.path.exists(tiledir):
os.mkdir(tiledir)
zoom = world.generate_quadtree(results, mincol, maxcol, minrow, maxrow, tiledir)