0

huh, I guess the overlay attribute is always there. length > 0 then.

This commit is contained in:
Aaron Griffith
2012-09-11 15:47:52 -04:00
parent 143b9fa366
commit 49b05dece5

View File

@@ -513,7 +513,7 @@ class TileSet(object):
""" """
def bgcolorformat(color): def bgcolorformat(color):
return "#%02x%02x%02x" % color[0:3] return "#%02x%02x%02x" % color[0:3]
isOverlay = ("overlay" in self.options) or (not any(isinstance(x, rendermodes.Base) for x in self.options.get("rendermode"))) isOverlay = self.options.get("overlay") or (not any(isinstance(x, rendermodes.Base) for x in self.options.get("rendermode")))
d = dict(name = self.options.get('title'), d = dict(name = self.options.get('title'),
zoomLevels = self.treedepth, zoomLevels = self.treedepth,