Simplify jinja_env.globals update.
Merge pull request #192 from gmist/jinja_globals

Simplify jinja_env.globals update