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