From f7a59d42597e53eed9d4abd830dc5f9d5fd929f2 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 23 Oct 2024 12:06:41 +0100 Subject: [PATCH] Fix URL normalization in conference check function --- check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check.py b/check.py index 4b9349f..166b305 100755 --- a/check.py +++ b/check.py @@ -176,7 +176,7 @@ def check_conference_web_site(name: str, src_url: str, year: int) -> bool: live, msg, redirect_to_url = check_conference(name, src_url, year) url = src_url.format(year=year) if live: - if redirect_to_url == url: + if redirect_to_url and normalize_url(redirect_to_url) == normalize_url(url): body = f"{name}\n{url}\nWeb page title: {msg}" else: body = f"""{name}