Skip to content

Commit

Permalink
fix: Fix infinite recursion on zzz.CharacterDetail.icon
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Aug 8, 2024
1 parent 25cb3de commit 04badd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hakushin/models/zzz/character.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def icon(self) -> str:
Example: https://api.hakush.in/zzz/UI/IconRoleSelect01.webp
"""
return self.icon.replace("Role", "RoleSelect")
return self.image.replace("Role", "RoleSelect")

@field_validator("info", mode="before")
@classmethod
Expand Down

0 comments on commit 04badd5

Please sign in to comment.