Fix on_setup_env example code
This commit is contained in:
parent
80168c8914
commit
64091b5962
|
@ -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'
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue