fix #408
This commit is contained in:
parent
19733a6b5b
commit
23038b98de
@ -1,3 +1,7 @@
|
||||
0.15.2 (2022-01-12)
|
||||
-------------------
|
||||
- fix #408
|
||||
|
||||
0.15.1 (2021-12-20)
|
||||
-------------------
|
||||
- Multi-rendering with same DocxTemplate object is now possible
|
||||
|
||||
@ -4,7 +4,7 @@ Created : 2015-03-12
|
||||
|
||||
@author: Eric Lapouyade
|
||||
"""
|
||||
__version__ = '0.15.1'
|
||||
__version__ = '0.15.2'
|
||||
|
||||
# flake8: noqa
|
||||
from .inline_image import InlineImage
|
||||
|
||||
@ -715,6 +715,7 @@ class DocxTemplate(object):
|
||||
self.is_saved = True
|
||||
|
||||
def get_undeclared_template_variables(self, jinja_env=None):
|
||||
self.init_docx()
|
||||
xml = self.get_xml()
|
||||
xml = self.patch_xml(xml)
|
||||
for uri in [self.HEADER_URI, self.FOOTER_URI]:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user