1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 08:16:54 +00:00
This commit is contained in:
Marian Beermann 2016-04-19 09:18:46 +02:00
parent 4f507c093b
commit 528913b220
No known key found for this signature in database
GPG key ID: 9B8450B91D1362C1

View file

@ -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