Update generate-domains-blocklist.py

# my mod to sort domains - 73sydney (adrian on TG)
This commit is contained in:
Adrian Miller 2023-01-06 00:54:55 +11:00 committed by GitHub
parent d14472beef
commit 01ade4625c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -255,6 +255,7 @@ def blocklists_from_config_file(
print("# Ignored duplicates: {}".format(ignored))
if allowed:
print("# Ignored entries due to the allowlist: {}".format(allowed))
list_names = sorted(set(list_names))
for name in list_names:
print(name)