Update wave_dbmd_reader.py

This commit is contained in:
Jamie Hardt
2022-11-24 23:04:35 -08:00
committed by GitHub
parent 733113819e
commit 957b23db92

View File

@@ -10,7 +10,7 @@ Unless otherwise stated, all § references here are to
from enum import IntEnum, Enum
from struct import unpack
from dataclasses import dataclass
from typing import Optional, Tuple, Any
from typing import Optional, Tuple, Any, Union
from io import BytesIO
@@ -487,7 +487,7 @@ class WavDolbyMetadataReader:
#: indicating if the segment's checksum was valid, and the
#: segment's parsed dataclass (or a `bytes` array if it was
#: not recognized).
segment_list: Tuple[SegmentType | int, bool, Any]
segment_list: Tuple[Union[SegmentType, int], bool, Any]
version: str