From 5e07d016885a0b04bdc109494cc3f6ff6aeeb56b Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Wed, 8 Nov 2023 21:07:15 -0800 Subject: [PATCH] Update wave_info_reader.py Flake8 note --- wavinfo/wave_info_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wavinfo/wave_info_reader.py b/wavinfo/wave_info_reader.py index 9187ce1..34b9b96 100644 --- a/wavinfo/wave_info_reader.py +++ b/wavinfo/wave_info_reader.py @@ -10,7 +10,7 @@ class WavInfoChunkReader: f.seek(0) parsed_chunks = parse_chunk(f) - assert type(parsed_chunks) == ListChunkDescriptor + assert type(parsed_chunks) is ListChunkDescriptor list_chunks = [chunk for chunk in parsed_chunks.children if type(chunk) is ListChunkDescriptor]