diff --git a/src/scmrepo/git/lfs/client.py b/src/scmrepo/git/lfs/client.py index 52d5f1e2..e29092e1 100644 --- a/src/scmrepo/git/lfs/client.py +++ b/src/scmrepo/git/lfs/client.py @@ -196,7 +196,7 @@ async def _get_one(from_path: str, to_path: str, **kwargs): callback.relative_update() resp_data = await self._batch_request(objects, **kwargs) - if resp_data.get("transfer") != "basic": + if resp_data.get("transfer", "basic") != "basic": raise LFSError("Unsupported LFS transfer type") coros = [] for data in resp_data.get("objects", []):