mirror of https://github.com/d3cim/block.git
Update generate-domains-blocklist.py
# my mod to sort domains - 73sydney (adrian on TG)
This commit is contained in:
parent
d14472beef
commit
01ade4625c
|
@ -255,6 +255,7 @@ def blocklists_from_config_file(
|
||||||
print("# Ignored duplicates: {}".format(ignored))
|
print("# Ignored duplicates: {}".format(ignored))
|
||||||
if allowed:
|
if allowed:
|
||||||
print("# Ignored entries due to the allowlist: {}".format(allowed))
|
print("# Ignored entries due to the allowlist: {}".format(allowed))
|
||||||
|
list_names = sorted(set(list_names))
|
||||||
for name in list_names:
|
for name in list_names:
|
||||||
print(name)
|
print(name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue