Skip to content

Commit

Permalink
Update open_cases_c.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HibiKier committed Jul 12, 2021
1 parent 558c836 commit 81c1dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/open_cases/open_cases_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async def open_case(user_qq: int, group: int, case_name: str = "狂牙大行动"
# cskin_word = sp[1][:sp[1].find("(") - 1].strip()
if knifes_flag:
await user.update(
knifes_name=user.knifes_name + f"{skin.split(':')[1].strip()} 磨损:{str(mosun)[:11]}, 价格:{uplist[10]},"
knifes_name=user.knifes_name + f"{case}||{skin.split(':')[1].strip()} 磨损:{str(mosun)[:11]}, 价格:{uplist[10]},"
).apply()
cskin_word = skin.split(':')[1].replace('|', '-').replace('(StatTrak™)', '')
cskin_word = cskin_word[: cskin_word.rfind('(')].strip()
Expand Down

0 comments on commit 81c1dc2

Please sign in to comment.