fix ffmpeg
This commit is contained in:
@@ -14,7 +14,8 @@ def _rel(pack_root: Path, raw: str | None) -> Path | None:
|
||||
return None
|
||||
path = Path(raw)
|
||||
if path.is_absolute():
|
||||
return path.resolve()
|
||||
# Do not resolve(): symlinks to bundle weights must keep writable parent dirs.
|
||||
return path
|
||||
return (pack_root / path).resolve()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user