mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 01:38:55 +00:00
offloaded.py: delete encoding tempfile when upload is complete
This commit is contained in:
parent
41cbd1e3a7
commit
0e3b218e7d
@ -92,6 +92,7 @@ class CHKUploadHelper(Referenceable, upload.CHKUploader):
|
||||
def _finished(self, res):
|
||||
(uri_extension_hash, needed_shares, total_shares, size) = res
|
||||
upload_results = {'uri_extension_hash': uri_extension_hash}
|
||||
os.unlink(self._encoding_file)
|
||||
self._finished_observers.fire(upload_results)
|
||||
self._helper.upload_finished(self._storage_index)
|
||||
del self._reader
|
||||
|
Loading…
Reference in New Issue
Block a user