From 128cb352a80d5500ac75d8ed7565d20616e1d78f Mon Sep 17 00:00:00 2001 From: alexAubin <4533074+alexAubin@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:05:59 +0000 Subject: [PATCH] :art: Format Python code with Black --- lib/curl_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/curl_tests.py b/lib/curl_tests.py index e0f765d..86a48b4 100644 --- a/lib/curl_tests.py +++ b/lib/curl_tests.py @@ -168,8 +168,8 @@ def test( content = content.get_text().strip() if content else "" 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_tag = html.find("base") + base = base_tag["href"] if base_tag else "" errors = [] if expect_effective_url is None and "/yunohost/sso" in effective_url: