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

Commit

Permalink
add compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
yemreak committed Sep 14, 2023
1 parent a292a0a commit 8340ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaticon/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from aiohttp import ClientSession


async def download(url: str, filepath: str | Path, session: ClientSession) -> Path:
async def download(url: str, filepath: Path, session: ClientSession) -> Path:
async with session.get(url) as response:
async with aioopen(filepath, "wb") as file:
async for chunk in response.content.iter_chunked(4096):
Expand Down

0 comments on commit 8340ef3

Please sign in to comment.