用Ruff自动格式化auto_get_res.py
This commit is contained in:
parent
554d54f7b3
commit
334b15fc26
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ class Arknights数据处理器:
|
||||||
if isinstance(干员数据["rarity"], str) and 干员数据[
|
if isinstance(干员数据["rarity"], str) and 干员数据[
|
||||||
"rarity"
|
"rarity"
|
||||||
].startswith("TIER_"):
|
].startswith("TIER_"):
|
||||||
干员数据["rarity"] = int(干员数据["rarity"][-1]) # 减一没了
|
干员数据["rarity"] = int(干员数据["rarity"][-1]) # 减一没了
|
||||||
elif isinstance(干员数据["rarity"], int):
|
elif isinstance(干员数据["rarity"], int):
|
||||||
干员数据["rarity"] += 1
|
干员数据["rarity"] += 1
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue