Update wave_reader.py

This commit is contained in:
Elijah Lopez
2020-08-14 14:34:17 -04:00
parent add390c0a0
commit 9a90a0c310

View File

@@ -119,7 +119,7 @@ class WavInfoReader:
def _get_ixml(self, f):
ixml_data = self._find_chunk_data(b'iXML', f, default_none=True)
return None if ixml_data else WavIXMLFormat(ixml_data.rstrip(b'\0'))
return None if ixml_data is None else WavIXMLFormat(ixml_data.rstrip(b'\0'))
def walk(self):
"""