0

added the image extension to the outputted json metadata

This commit is contained in:
Andrew Brown
2012-02-12 17:15:50 -05:00
parent 1703b4952b
commit 9c4de64a62

View File

@@ -391,7 +391,9 @@ class TileSet(object):
base = '', base = '',
bgcolor = bgcolorformat(self.options.get('bgcolor')), bgcolor = bgcolorformat(self.options.get('bgcolor')),
world = self.options.get('worldname_orig') + " - " + self.options.get('dimension'), world = self.options.get('worldname_orig') + " - " + self.options.get('dimension'),
last_rendertime = self.this_rendertime) last_rendertime = self.this_rendertime,
imgextension = self.imgextension,
)
try: try:
d['north_direction'] = self.regionset.north_dir d['north_direction'] = self.regionset.north_dir
except AttributeError: except AttributeError: