From 68af0dd94d45d8143dcf93bddee28ed6961394c7 Mon Sep 17 00:00:00 2001 From: "Alan D. Tse" Date: Tue, 28 Nov 2023 23:33:33 -0800 Subject: [PATCH] fix: change base_url path warning to debug --- authcaptureproxy/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authcaptureproxy/helper.py b/authcaptureproxy/helper.py index 125a8e0..f799863 100644 --- a/authcaptureproxy/helper.py +++ b/authcaptureproxy/helper.py @@ -192,7 +192,7 @@ def prepend_url(base_url: URL, url: URL, encoded: bool = False) -> URL: if isinstance(url, str): url = URL(url) if base_url.name: - _LOGGER.warn("Base URL is to file %s, treating as path", base_url.name) + _LOGGER.debug('Base URL is to file "%s", treating as path', base_url.name) base_url = base_url.with_path(f"{base_url.path}/") if not url.is_absolute(): query = url.query