mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
🐛 165 有空集合
This commit is contained in:
parent
509071518b
commit
2cdf44f54b
@ -20,7 +20,9 @@ def exclude_list(domain: str) -> bool:
|
||||
|
||||
|
||||
def is_pure_ip(domain: str) -> bool:
|
||||
return True if re.match(IP_PATTERN, domain) else False
|
||||
if isinstance(domain, str):
|
||||
return True if re.match(IP_PATTERN, domain) else False
|
||||
return True
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
x
Reference in New Issue
Block a user