mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 08:16:54 +00:00
commit
035a884f1e
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ def flush(self, flush=False):
|
|||
for chunk in chunks[:end]:
|
||||
self.chunks.append(self.write_chunk(chunk))
|
||||
if end == -1:
|
||||
self.buffer.write(chunks[-1])
|
||||
self.buffer.write(chunks[-1].data)
|
||||
|
||||
def is_full(self):
|
||||
return self.buffer.tell() > self.BUFFER_SIZE
|
||||
|
|
Loading…
Reference in a new issue