3
0

🐛 修复猜语音语法错误

This commit is contained in:
xtaodada 2022-01-30 11:30:18 +08:00
parent 21e821a903
commit b134e4fea8
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736

View File

@ -25,10 +25,10 @@ def get_chars(data: list) -> list:
def get_key_list(data: list, key: str) -> list:
# 获取包含key的数据
# 获取角色所有语音
data_ = []
for i in data:
if key in i:
if i.startswith(key):
data_.append(i)
return data_