Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
🐛 fix(windows): Fix chown issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vvatelot committed Mar 14, 2023
1 parent f488886 commit 1c91e54
Show file tree
Hide file tree
Showing 3 changed files with 292 additions and 295 deletions.
10 changes: 8 additions & 2 deletions ecoindex_cli/cli/arguments_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@


@validate_arguments
def validate_list_of_urls(urls: List[HttpUrl]) -> HttpUrl:
return urls
def validate_list_of_urls(urls: List[HttpUrl]) -> Tuple[HttpUrl]:
result = set()

for url in urls:
splitted_url = url.split("?")
result.add(splitted_url[0])

return result


@validate_arguments
Expand Down
Loading

0 comments on commit 1c91e54

Please sign in to comment.