diff --git a/arknights_mower/solvers/base_schedule.py b/arknights_mower/solvers/base_schedule.py index 1f645a277..9ef4bc7fc 100644 --- a/arknights_mower/solvers/base_schedule.py +++ b/arknights_mower/solvers/base_schedule.py @@ -794,7 +794,9 @@ def read_screen(self, img, type="mood", limit=24, cord=None): if 'mood' in type: # filter 掉不符合规范的结果 if ('/' + str(limit)) in res[1][0]: - line_conf.append(res[1]) + new_string = res[1][0].replace('/' + str(limit), '') + if len(new_string)>0: + line_conf.append(res[1]) else: line_conf.append(res[1]) logger.debug(line_conf)