Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lferran committed Mar 6, 2025
1 parent bcf0220 commit 0b6952c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nucliadb/src/nucliadb/backups/restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async def read(self, size: int) -> bytes:
while len(self.buffer) < size:
chunk = await self.download_stream.__anext__()
if not chunk:
pass
continue
self.buffer += chunk
result = self.buffer[:size]
self.buffer = self.buffer[size:]
Expand Down

0 comments on commit 0b6952c

Please sign in to comment.