Update wave_ixml_reader.py

This commit is contained in:
Jamie Hardt
2023-06-09 23:27:53 -07:00
committed by GitHub
parent 48c4b1565d
commit c2ebaa8141

View File

@@ -58,7 +58,7 @@ class SteinbergMetadata:
:param xml: an iXML ElementTree :param xml: an iXML ElementTree
""" """
x = xml.find(cls.Steinberg_xpath) 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: def __init__(self, xml: ET.ElementTree) -> None:
""" """