Merge pull request #17 from iluvcapra/iluvcapra-patch-2

Update wave_ixml_reader.py
This commit is contained in:
Jamie Hardt
2023-06-09 23:28:28 -07:00
committed by GitHub

View File

@@ -58,7 +58,7 @@ class SteinbergMetadata:
:param xml: an iXML ElementTree
"""
x = xml.find(cls.Steinberg_xpath)
return len(x) > 0
return x is not None and len(x) > 0
def __init__(self, xml: ET.ElementTree) -> None:
"""