diff --git a/wnpp-query.py b/wnpp-query.py index 8b76593..a7dcb3b 100755 --- a/wnpp-query.py +++ b/wnpp-query.py @@ -44,22 +44,22 @@ in_prep_today = re.compile('^in preparation since today\.$') in_prep_yesterday = re.compile('^in preparation since yesterday\.$') for line in url: - if re.match(line_match, line): - if re.match(line_match_desc, line): + if line_match.match(line): + if line_match_desc.match(line): line = line.strip() - link = re.sub('