Skip to content

Commit

Permalink
fix: change base_url path warning to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Nov 29, 2023
1 parent 08a396d commit 68af0dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authcaptureproxy/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68af0dd

Please sign in to comment.