Fixed variables.

This commit is contained in:
Franco Masotti 2022-01-15 19:40:53 +01:00
parent d2855d9e9c
commit 324d3ef007
Signed by: frnmst
GPG Key ID: 24116ED85666780A
1 changed files with 2 additions and 2 deletions

View File

@ -814,12 +814,12 @@ def pipeline(source: str, file_type: str, data: dict):
# This W3C file should not change any time soon so we can avoid the force download option.
if not pathlib.Path(w3c_schema_file_for_xml_signatures).is_file():
get_remote_file(w3c_schema_file_for_xml_signatures,
config['invoice_file']['W3C XSD download'])
config['invoice_file']['w3c_xsd_download'])
if data['force_invoice_schema_file_download'] or not pathlib.Path(
invoice_schema_file).is_file():
get_remote_file(invoice_schema_file,
config['invoice_file']['XSD download'])
config['invoice_file']['xsd_download'])
patch_invoice_schema_file(
invoice_schema_file,