mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-11 15:50:40 -04:00
Remove unnecessary cleanup_filenames appending in the CompressThread. Ensure we also remove the temp dir that a Zip file is made within, by setting the temp dir in ZipWriter as a variable
This commit is contained in:
parent
484aa23477
commit
7092e4ebee
2 changed files with 3 additions and 4 deletions
|
@ -47,9 +47,6 @@ class CompressThread(QtCore.QThread):
|
|||
self.mode.filenames, processed_size_callback=self.set_processed_size
|
||||
)
|
||||
self.success.emit()
|
||||
self.mode.web.cleanup_filenames += (
|
||||
self.mode.web.share_mode.cleanup_filenames
|
||||
)
|
||||
except OSError as e:
|
||||
self.error.emit(e.strerror)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue