mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
offloaded.py: when resuming, append new data to incoming file, rather than overwrite it.
This commit is contained in:
parent
8386b0226b
commit
41cbd1e3a7
@ -182,7 +182,9 @@ class CHKCiphertextFetcher(AskUntilSuccessMixin):
|
||||
self.log("we already have %d bytes" % self._have, level=log.NOISY)
|
||||
else:
|
||||
self._have = 0
|
||||
self._f = open(self._incoming_file, "wb")
|
||||
self.log("we do not have any ciphertext yet", level=log.NOISY)
|
||||
self.log("starting ciphertext fetch", level=log.NOISY)
|
||||
self._f = open(self._incoming_file, "ab")
|
||||
|
||||
# now loop to pull the data from the readers
|
||||
d = defer.Deferred()
|
||||
|
Loading…
x
Reference in New Issue
Block a user