Skip to content

Commit

Permalink
typing fix for 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mfouesneau committed Oct 4, 2024
1 parent f5322e2 commit b059d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ezpadova/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def new_func(*args, **kwargs):

def get_file_archive_type(
filename: Union[str, BytesIO], stream: bool = False
) -> str | None:
) -> Union[str, None]:
"""Detect the type of a potentially compressed file.
This function checks the beginning of a file to determine if it is compressed
Expand Down

0 comments on commit b059d22

Please sign in to comment.