Drop JINJA_EXTENSIONS

Fix #268
This commit is contained in:
Alexandre Vicenzi 2021-06-17 01:13:52 +02:00
parent 2fc69e12ef
commit e04a96108b

View file

@ -1,4 +1,4 @@
{% if 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT.extensions and 'jinja2.ext.i18n' not in JINJA_EXTENSIONS %}
{% if 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT.extensions %}
{%- macro _(msg) -%}
{{ msg % kwargs }}
{%- endmacro -%}