0

modified to support freezing

This commit is contained in:
Andrew Brown
2010-09-28 23:04:21 -04:00
parent 81d86d6b8b
commit 7a696fcee0
4 changed files with 36 additions and 2 deletions

View File

@@ -26,6 +26,8 @@ import json
from PIL import Image
import util
"""
This module has routines related to generating a quadtree of tiles
@@ -114,7 +116,7 @@ class QuadtreeGen(object):
def write_html(self, zoomlevel, imgformat):
"""Writes out index.html"""
templatepath = os.path.join(os.path.split(__file__)[0], "template.html")
templatepath = os.path.join(util.get_program_path(), "template.html")
html = open(templatepath, 'r').read()
html = html.replace(