Skip to content

Commit

Permalink
Fix some missing types
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMili committed Dec 11, 2024
1 parent 47aa528 commit 1121224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extract_favicon/main_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ async def guess_size(favicon: Favicon, chunk_size: int = 512) -> Tuple[int, int]

async def guess_missing_sizes(
favicons: Union[list[Favicon], set[Favicon]],
chunk_size=512,
chunk_size: int = 512,
sleep_time: int = 1,
load_base64_img: bool = False,
) -> list[Favicon]:
Expand Down Expand Up @@ -299,7 +299,7 @@ async def check_availability(
favicons: Union[list[Favicon], set[Favicon]],
sleep_time: int = 1,
client: Optional[AsyncClient] = None,
):
) -> list[Favicon]:
favs = list(favicons)

for idx in range(len(favs)):
Expand Down

0 comments on commit 1121224

Please sign in to comment.