diff --git a/config/generate-domains-blocklist.py b/config/generate-domains-blocklist.py index ca75d64..7bb82a1 100644 --- a/config/generate-domains-blocklist.py +++ b/config/generate-domains-blocklist.py @@ -21,7 +21,7 @@ def parse_time_restricted_list(content): rx_comment = re.compile(r"^(#|$)") rx_inline_comment = re.compile(r"\s*#\s*[a-z0-9-].*$") rx_trusted = re.compile(r"^([*a-z0-9.-]+)\s*(@\S+)?$") - rx_timed = re.compile(r".+\s*(@\S+)?$") + rx_timed = re.compile(r".+\s*@\S+$") names = set() time_restrictions = {}