Skip to content

Commit

Permalink
Fix: dumb typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed Aug 21, 2023
1 parent c152383 commit 6744b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/soundevent/audio/chunks.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _get_subchunks(riff: BinaryIO, size: int) -> List[Chunk]:
return subchunks


def _read_chunk(riff: BinaryIO) -> Chunk | None:
def _read_chunk(riff: BinaryIO) -> Optional[Chunk]:
"""Read a chunk from a RIFF file at current pointer position.
We assume the file pointer is at the beginning of the chunk.
Expand Down

0 comments on commit 6744b68

Please sign in to comment.