用Ruff自动格式化auto_get_res.py

This commit is contained in:
zhbaor 2025-02-15 20:40:03 +08:00
parent 554d54f7b3
commit 334b15fc26

View file

@ -339,7 +339,7 @@ class Arknights数据处理器:
if isinstance(干员数据["rarity"], str) and 干员数据[
"rarity"
].startswith("TIER_"):
干员数据["rarity"] = int(干员数据["rarity"][-1]) # 减一没了
干员数据["rarity"] = int(干员数据["rarity"][-1]) # 减一没了
elif isinstance(干员数据["rarity"], int):
干员数据["rarity"] += 1
else: