Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Fix for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
aMarcireau committed Jan 12, 2024
1 parent 5ef966b commit 2c99cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/faery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def stream_from_file(
path: typing.Union[str, pathlib.Path],
stream_id: typing.Optional[int] = None,
size_fallback: tuple[int, int] = (1280, 720),
version_fallback: str | None = None,
file_type: decoder.FileType | None = None,
version_fallback: typing.Optional[str] = None,
file_type: typing.Optional[decoder.FileType] = None,
) -> Stream:
if isinstance(path, str):
path = pathlib.Path(path)
Expand Down

0 comments on commit 2c99cd7

Please sign in to comment.