mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Fix: Filter in research
This commit is contained in:
parent
0e631f1c62
commit
611ea364ed
@ -54,10 +54,9 @@ class Filter:
|
||||
"""
|
||||
|
||||
for attr, value in zip(self.attr, filter):
|
||||
value = str(value)
|
||||
if not value:
|
||||
continue
|
||||
if str(obj.__getattribute__(attr)).lower() != value:
|
||||
if str(obj.__getattribute__(attr)).lower() != str(value):
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user