mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-20 19:58:17 +00:00
complete_template works a little different.
It uses a Word doc as the Jinja template Need to decide what to do about this case
This commit is contained in:
parent
983c4104e1
commit
f9856d68a9
@ -109,6 +109,7 @@ Takes two arguments:
|
||||
return image_file_data
|
||||
|
||||
def make_template(self, binary_stream, context, image_file_data=None):
|
||||
# TODO: Move this into the jinja_service?
|
||||
doc = DocxTemplate(binary_stream)
|
||||
doc_context = copy.deepcopy(context)
|
||||
doc_context = self.rich_text_update(doc_context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user