Skip to content

Commit

Permalink
Update curl_tests.py: zzzzz
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin authored Nov 23, 2024
1 parent e0e9626 commit 5410830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/curl_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def test(
content = re.sub(r"[\t\n\s]{3,}", "\n\n", content)

base_tag = html.find("base")
base = base_tag["href"] if base_tag else ""
base = base_tag.get("href", "") if base_tag else ""

errors = []
if expect_effective_url is None and "/yunohost/sso" in effective_url:
Expand Down

0 comments on commit 5410830

Please sign in to comment.