mirror of
https://github.com/TG-Twilight/AWAvenue-Ads-Rule.git
synced 2025-11-04 14:49:47 +08:00
fix run error
This commit is contained in:
parent
d7900beb72
commit
c1d947b755
2
main.py
2
main.py
@ -18,7 +18,7 @@ if not os.path.exists(OUT_PATH):
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
class RuleList:
|
class RuleList:
|
||||||
def __init__(self, domain_file, regex_file, ip_file):
|
def __init__(self, domain_file, regex_file, ip_file, ip6_file):
|
||||||
with open(domain_file, 'r') as file:
|
with open(domain_file, 'r') as file:
|
||||||
self.domain_list = file.readlines()
|
self.domain_list = file.readlines()
|
||||||
with open(regex_file, 'r') as file:
|
with open(regex_file, 'r') as file:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user