🐛 165 有空集合

This commit is contained in:
tdc 2024-05-21 15:23:38 +08:00
parent 509071518b
commit 2cdf44f54b

View File

@ -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():