mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2025-12-31 08:50:41 +00:00
Update wave_ixml_reader.py
This commit is contained in:
@@ -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:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user