Merge pull request #149 from marksteve/patch-1

Fix on_setup_env example
This commit is contained in:
Dr. Tarique Sani 2017-04-28 16:02:11 +05:30 committed by GitHub
commit f59ec0ea9e
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'
```