Various bugfixes, new template sub-docs

This commit is contained in:
lwark
2024-06-21 12:43:00 -05:00
parent 384bd567ae
commit be142e0f2f
8 changed files with 38 additions and 17 deletions

View File

@@ -477,7 +477,7 @@ class DocxWriter(object):
base_dict['excluded'] += ["platemap"]
except KeyError:
base_dict['excluded'] = ["platemap"]
base_dict = self.sub_obj.custom_docx_writer(base_dict)
base_dict = self.sub_obj.custom_docx_writer(base_dict, tpl_obj=self.template)
# logger.debug(f"Base dict: {pformat(base_dict)}")
self.template.render({"sub": base_dict})