Remove debug traces
This commit is contained in:
parent
3d96e6e5f1
commit
57fbf33ff5
@ -1,3 +1,7 @@
|
||||
0.4.6 (2017-10-15)
|
||||
------------------
|
||||
- Remove debug traces
|
||||
|
||||
0.4.5 (2017-10-15)
|
||||
------------------
|
||||
- Add {% vm %} to merge cell vertically within a loop (Thanks to Arthaslixin)
|
||||
|
||||
@ -5,7 +5,7 @@ Created : 2015-03-12
|
||||
@author: Eric Lapouyade
|
||||
'''
|
||||
|
||||
__version__ = '0.4.5'
|
||||
__version__ = '0.4.6'
|
||||
|
||||
from lxml import etree
|
||||
from docx import Document
|
||||
@ -108,7 +108,6 @@ class DocxTemplate(object):
|
||||
else:
|
||||
template = Template(src_xml)
|
||||
dst_xml = template.render(context)
|
||||
print dst_xml
|
||||
dst_xml = dst_xml.replace('{_{','{{').replace('}_}','}}').replace('{_%','{%').replace('%_}','%}')
|
||||
return dst_xml
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user