Skip to content

Commit

Permalink
Merge branch 'issue-92' of https://github.com/joydeep049/gitingest in…
Browse files Browse the repository at this point in the history
…to issue-92
  • Loading branch information
joydeep049 committed Jan 1, 2025
2 parents 747d1f8 + eba490d commit c0a0bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gitingest/parse_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _parse_url(url: str) -> dict[str, Any]:
url = url.split(" ")[0]
url = unquote(url) # Decode URL-encoded characters

if not url.startswith("https://") and not url.startswith("http://"):
if not url.startswith(("https://", "http://")):
url = "https://" + url

# Extract domain and path
Expand Down

0 comments on commit c0a0bae

Please sign in to comment.