Add factur-x python lib version number in metadata creator entry

This commit is contained in:
Alexis de Lattre 2018-04-25 11:54:36 +02:00
parent 94d420b8dc
commit 78f920418d
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ def _prepare_pdf_metadata_xml(facturx_level, pdf_metadata):
desc_xmp.set(ns_rdf + 'about', '')
creator = etree.SubElement(
desc_xmp, ns_xmp + 'CreatorTool')
creator.text = 'factur-x python lib by Alexis de Lattre'
creator.text = 'factur-x python lib v%s by Alexis de Lattre' % __version__
timestamp = _get_metadata_timestamp()
etree.SubElement(desc_xmp, ns_xmp + 'CreateDate').text = timestamp
etree.SubElement(desc_xmp, ns_xmp + 'ModifyDate').text = timestamp