summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Lattre <alexis.delattre@akretion.com>2019-06-11 21:58:59 (GMT)
committerAlexis de Lattre <alexis.delattre@akretion.com>2019-06-11 21:58:59 (GMT)
commitbd5b030279f7e5a2b353852fb4b3136402440dd0 (patch)
tree430db13057679f82a652df7382e4eb8946dcc943
parent96b110199c03a40eec47c8071efaff48acffcb85 (diff)
downloadfactur-x-bd5b030279f7e5a2b353852fb4b3136402440dd0.zip
factur-x-bd5b030279f7e5a2b353852fb4b3136402440dd0.tar.gz
factur-x-bd5b030279f7e5a2b353852fb4b3136402440dd0.tar.bz2
Add debug log to show XSD file used
-rw-r--r--facturx/facturx.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/facturx/facturx.py b/facturx/facturx.py
index 6147d8b..8f3baa4 100644
--- a/facturx/facturx.py
+++ b/facturx/facturx.py
@@ -135,6 +135,7 @@ def check_facturx_xsd(
elif flavor == 'zugferd':
xsd_file = resource_filename(
__name__, 'xsd/zugferd/ZUGFeRD1p0.xsd')
+ logger.debug('Using XSD file %s', xsd_file)
xsd_etree_obj = etree.parse(open(xsd_file))
official_schema = etree.XMLSchema(xsd_etree_obj)
try: