Skip to content

Commit

Permalink
fixed type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KiloOscarSix committed Oct 2, 2023
1 parent 013fd37 commit 826f478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CharacterService_ren.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_user(
character: Union["ICharacter", "CustomCharacter", "MainCharacter"]
) -> ICharacter:
try:
if type(character) is PlayableCharacter:
if isinstance(character, PlayableCharacter):
user = mc
else:
user = getattr(store, character.name.lower().replace(" ", "_"))
Expand Down

0 comments on commit 826f478

Please sign in to comment.