Bug fix no response from website.

This commit is contained in:
Edward Betts 2025-04-20 10:47:04 +01:00
parent befdfd8bb8
commit ee6f594a19

View file

@ -227,8 +227,7 @@ class Conference:
def og_tags(self) -> dict[str, str]: def og_tags(self) -> dict[str, str]:
"""Open Graph tags.""" """Open Graph tags."""
assert self.response return parse_opengraph_tags(self.response.text) if self.response else {}
return parse_opengraph_tags(self.response.text)
def check_web_site(self) -> bool: def check_web_site(self) -> bool:
"""Check if an individual web site is live.""" """Check if an individual web site is live."""