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

Commit

Permalink
fixed: expected str instance, int found
Browse files Browse the repository at this point in the history
  • Loading branch information
yemreak authored Sep 14, 2023
1 parent 84744bd commit 575470c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaticon/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ async def download_image(self, image: Image) -> Path:
return imagepath
await download(image.url, imagepath, self._session)
with self._csv_file.open("a") as file:
file.write("\n" + ",".join(image.to_dict().values()))
file.write("\n" + ",".join(map(str, image.to_dict().values())))
return imagepath

0 comments on commit 575470c

Please sign in to comment.