Fix mapping icons

This commit is contained in:
Pascal P. 2026-08-06 23:47:10 +02:00
parent 60807092fd
commit 81bd4d0d2b
1 changed files with 6 additions and 6 deletions

View File

@ -26,12 +26,12 @@ class Rarity(StrEnum):
@property @property
def icon(self) -> str: def icon(self) -> str:
return { return {
Self.Common: "", Rarity.Common: "",
Self.LessCommon: "🟢", Rarity.LessCommon: "🟢",
Self.Rare: "🔵", Rarity.Rare: "🔵",
Self.SuperRare: "🟣", Rarity.SuperRare: "🟣",
Self.UltraRare: "🟠", Rarity.UltraRare: "🟠",
Self.Legendary: "🌟", Rarity.Legendary: "🌟",
}[self] }[self]
@dataclass @dataclass