0.3.10版本出现int()报错
dpm12345 opened this issue · 0 comments
dpm12345 commented
由于我的个人疏忽,当单人模型按照以前的填写方式填写时,会发生以下报错
function.py", line 53, in check_character
index = None if len(model) == 1 else int(model[1])
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
这里的解决方案为将该行代码改为index=model[1]