From 40bc082076df2440da31dd6b7f8b9553b9d13dea Mon Sep 17 00:00:00 2001 From: Evan Lohn Date: Thu, 13 Mar 2025 13:20:22 -0700 Subject: [PATCH] address JR comments --- backend/onyx/connectors/google_drive/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/onyx/connectors/google_drive/connector.py b/backend/onyx/connectors/google_drive/connector.py index 80bde671f..f7a27a826 100644 --- a/backend/onyx/connectors/google_drive/connector.py +++ b/backend/onyx/connectors/google_drive/connector.py @@ -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(