Casted WWW_REDIRECT_ENABLED to bool

This commit is contained in:
2025-09-23 19:18:22 +02:00
parent 12d05ef013
commit c523d8d8d4
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ class FilterModule(object):
def filters(self):
return {'generate_all_domains': self.generate_all_domains}
def generate_all_domains(self, domains_dict, include_www=True):
def generate_all_domains(self, domains_dict, include_www:bool=True):
"""
Transform a dict of domains (values: str, list, dict) into a flat list,
optionally add 'www.' prefixes, dedupe and sort alphabetically.