Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
PyExplorer committed Dec 6, 2024
1 parent 0fcfaba commit 4b854dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zyte_parsers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def strip_urljoin(base_url: Optional[str], url: Optional[str]) -> str:


def add_https_to_url(url: str) -> str:
if url.startswith(('http://', 'https://')):
if url.startswith(("http://", "https://")):
return url

parsed_url = urlparse(url)
Expand Down

0 comments on commit 4b854dc

Please sign in to comment.