diff --git a/studio/backend/core/inference/tools.py b/studio/backend/core/inference/tools.py index d9541a37cb..a2d2556a4d 100644 --- a/studio/backend/core/inference/tools.py +++ b/studio/backend/core/inference/tools.py @@ -5627,7 +5627,7 @@ def _sensitive_paths(command: str, workdir: str) -> list[str]: if "=" in tok: tok = tok.split("=", 1)[1] elif "/" in tok: - tok = tok[tok.index("/"):] + tok = tok[tok.index("/") :] else: continue # a bare flag carries no path if not tok: