[UPSTREAM] - Fix the rx_timed regex

This commit is contained in:
quindecim 2021-10-05 17:29:52 +02:00
parent cda22bd1a2
commit f157401824
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ def parse_time_restricted_list(content):
rx_comment = re.compile(r"^(#|$)") rx_comment = re.compile(r"^(#|$)")
rx_inline_comment = re.compile(r"\s*#\s*[a-z0-9-].*$") rx_inline_comment = re.compile(r"\s*#\s*[a-z0-9-].*$")
rx_trusted = re.compile(r"^([*a-z0-9.-]+)\s*(@\S+)?$") 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() names = set()
time_restrictions = {} time_restrictions = {}