change direction, support 'or'

This commit is contained in:
2025-10-30 15:22:58 +08:00
parent 468284939c
commit fcc8888449

View File

@@ -80,7 +80,7 @@ class Validator:
st_cond = False
ref_tool = ref_tool.lower()
for msg in tool_msgs:
st_cond = ref_tool in msg.name.lower()
st_cond = msg.name.lower() in ref_tool
if st_cond:
break
tool_used.append(st_cond)