Fix example

This commit is contained in:
Mark Steve Samson 2017-04-25 15:22:00 +08:00 committed by GitHub
parent 56c0c566dc
commit 0b363747da
1 changed files with 1 additions and 1 deletions

View File

@ -15,5 +15,5 @@ filters and global variables.
```python
def on_setup_env(self, **extra):
env.jinja_env.globals['my_variable'] = 'my value'
self.env.jinja_env.globals['my_variable'] = 'my value'
```