forked from orbit-oss/flask
fix typos
This commit is contained in:
parent
f9e9e77464
commit
13cc69911c
5 changed files with 10 additions and 10 deletions
|
|
@ -330,7 +330,7 @@ def get_template_attribute(template_name, attribute):
|
|||
.. versionadded:: 0.2
|
||||
|
||||
:param template_name: the name of the template
|
||||
:param attribute: the name of the variable of macro to acccess
|
||||
:param attribute: the name of the variable of macro to access
|
||||
"""
|
||||
return getattr(current_app.jinja_env.get_template(template_name).module,
|
||||
attribute)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue