mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-17 13:22:42 +01:00
address JR comments
This commit is contained in:
parent
4c75575aa0
commit
40bc082076
@ -60,7 +60,7 @@ def _extract_str_list_from_comma_str(string: str | None) -> list[str]:
|
||||
|
||||
|
||||
def _extract_ids_from_urls(urls: list[str]) -> list[str]:
|
||||
return [urlparse(url).path.split("/")[-1] for url in urls]
|
||||
return [urlparse(url).path.strip("/").split("/")[-1] for url in urls]
|
||||
|
||||
|
||||
def _convert_single_file(
|
||||
|
Loading…
x
Reference in New Issue
Block a user