Skip to content

Commit

Permalink
add missing change to Manga init
Browse files Browse the repository at this point in the history
  • Loading branch information
AbstractUmbra committed Mar 17, 2022
1 parent 25e9364 commit 2323c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hondana/manga.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def __init__(self, http: HTTPClient, payload: manga.MangaResponse) -> None:
if self._attributes["publicationDemographic"]
else None
)
self.status: Optional[MangaStatus] = MangaStatus(self._attributes["status"]) if self._attributes["status"] else None
self.status: Optional[MangaStatus] = MangaStatus(self._attributes["status"])
self.year: Optional[int] = self._attributes["year"]
self.content_rating: Optional[ContentRating] = (
ContentRating(self._attributes["contentRating"]) if self._attributes["contentRating"] else None
Expand Down

0 comments on commit 2323c44

Please sign in to comment.