Skip to content

Commit 7af8b9e

Browse files
committed
update
1 parent ef62513 commit 7af8b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/data/processing/data_processor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def _get_item_filesizes(items: List[Any], base_path: str = "") -> List[int]:
339339

340340

341341
def _to_path(element: str) -> str:
342-
return element if element.startswith("/teamspace") else str(Path(element).resolve())
342+
return element if _IS_IN_STUDIO and element.startswith("/teamspace") else str(Path(element).resolve())
343343

344344

345345
def _is_path(input_dir: Optional[str], element: Any) -> bool:

0 commit comments

Comments
 (0)