Skip to content

Commit

Permalink
fix from_dict in AnimeInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Snayt1k3 committed Jun 15, 2024
1 parent 9eb41ee commit 5969310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shikimori/types/animes.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def from_dict(cls, data: dict):
id=data.get("id"),
name=data.get("name"),
russian=data.get("russian"),
image=data.get("image"),
image=Photo.from_dict(data.get("image")),
url=data.get("url"),
kind=data.get("kind"),
score=data.get("score"),
Expand Down

0 comments on commit 5969310

Please sign in to comment.