Skip to content

Commit

Permalink
fix missing __dict__
Browse files Browse the repository at this point in the history
  • Loading branch information
KiloOscarSix committed May 9, 2023
1 parent 56c9338 commit 339a005
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 @@ -28,7 +28,7 @@ def get_user(character: object) -> ICharacter:
else:
user = getattr(store, character.name.lower().replace(" ", "_"))
except AttributeError:
raise AttributeError(f"{vars(character)} is not a valid character.")
raise AttributeError(f"{character} is not a valid character.")

return user

Expand Down

0 comments on commit 339a005

Please sign in to comment.