Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for the "other" category In sprites #52

Merged
merged 7 commits into from
Apr 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ae
  • Loading branch information
Deleca7755 committed Mar 1, 2023
commit 48bb9a3e1d62c743540a8a7ea94ccd3df7370f7a
5 changes: 2 additions & 3 deletions src/aiopoke/objects/utility/common_models/sprites.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ def __init__(self, data) -> None:
data["versions"]["generation-viii"]
)

self.other = (
Other(data["other"]) if data.get("other") is not None else None
)
self.other = Other(data["other"]) if data.get("other") is not None else None


class GenerationISprites:
red_blue_back_default: OptionalSprite
Expand Down