Fixed environment var name due to typo.

This commit is contained in:
Christopher Ramírez 2013-07-21 13:22:42 -06:00
parent c849c01363
commit ab4a3ef61b

View file

@ -85,7 +85,7 @@ class Render():
filters to the ODF render. filters to the ODF render.
engine = Render('template.odt') engine = Render('template.odt')
engine.enviroment.filters['custom_filer'] = filter_function engine.environment.filters['custom_filer'] = filter_function
result = engine.render() result = engine.render()
Basic use example: Basic use example:
@ -102,9 +102,9 @@ class Render():
@property @property
def enviroment(self): def environment(self):
return self._environment return self._environment
@enviroment.setter @environment.setter
def enviroment(self, value): def enviroment(self, value):
self._environment = value self._environment = value