🐛 fix: LightCone rarity

This commit is contained in:
xtaodada 2023-05-28 18:21:49 +08:00
parent 95d8a94411
commit 937233e615
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -48,4 +48,4 @@ class LightCone(BaseModel):
@property
def rarity(self) -> int:
return 5 - list[Quality].index(self.quality)
return 5 - list(Quality).index(self.quality)