Fix URL normalization in conference check function
This commit is contained in:
parent
3242a6ee6e
commit
f7a59d4259
2
check.py
2
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}
|
||||
|
|
Loading…
Reference in a new issue