use path ... but still todo: set as base path to invoide.yaml

This commit is contained in:
Torsten Ueberschar
2024-02-18 20:39:09 +01:00
parent 36ffa54d81
commit 3224295871
3 changed files with 10 additions and 3 deletions

View File

@@ -119,6 +119,8 @@ def main():
generator = html_generator.HtmlTemplate(args.template)
template = generator.prepare_template(invoice_data, envelope_data)
print(template)
try:
print('Generating invoice...')
invoice_pdf = Path(invoice_data.Id).with_suffix('.pdf')