Fix flake8
This commit is contained in:
parent
2812487300
commit
a449f01f36
@ -350,10 +350,10 @@ class DocxTemplate(object):
|
|||||||
template = jinja_env.from_string(initial)
|
template = jinja_env.from_string(initial)
|
||||||
rendered = template.render(context)
|
rendered = template.render(context)
|
||||||
setattr(self.docx.core_properties, prop, rendered)
|
setattr(self.docx.core_properties, prop, rendered)
|
||||||
|
|
||||||
def render_footnotes(
|
def render_footnotes(
|
||||||
self, context: Dict[str, Any], jinja_env: Optional[Environment] = None
|
self, context: Dict[str, Any], jinja_env: Optional[Environment] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
if jinja_env is None:
|
if jinja_env is None:
|
||||||
jinja_env = Environment()
|
jinja_env = Environment()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user