Merge pull request #5 from attrib/attrib-patch-1

[FIX] Wrong path for zugferd XSD file
This commit is contained in:
Alexis de Lattre 2019-01-25 19:57:03 +01:00 committed by GitHub
commit 7162c6ed1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ def check_facturx_xsd(
__name__, 'xsd/factur-x/%s' % xsd_filename)
elif flavor == 'zugferd':
xsd_file = resource_filename(
__name__, 'xsd/xsd-zugferd/ZUGFeRD1p0.xsd')
__name__, 'xsd/zugferd/ZUGFeRD1p0.xsd')
xsd_etree_obj = etree.parse(open(xsd_file))
official_schema = etree.XMLSchema(xsd_etree_obj)
try: