Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawnsdaddy authored and ZhaoZuohong committed Jun 30, 2023
1 parent ba7d5fe commit 99c6c60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arknights_mower/solvers/base_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 99c6c60

Please sign in to comment.