mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-06 04:19:06 +08:00
Fix: Filter in research
This commit is contained in:
@@ -54,10 +54,9 @@ class Filter:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
for attr, value in zip(self.attr, filter):
|
for attr, value in zip(self.attr, filter):
|
||||||
value = str(value)
|
|
||||||
if not value:
|
if not value:
|
||||||
continue
|
continue
|
||||||
if str(obj.__getattribute__(attr)).lower() != value:
|
if str(obj.__getattribute__(attr)).lower() != str(value):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user