aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2021-05-04 16:42:23 +1000
committerMiguel Jacq <mig@mig5.net>2021-05-04 16:42:23 +1000
commitc6ccd4de579332187232f0e4bfeb33fe531f76d8 (patch)
tree6fdba9e7b7080f4f75ed6a8c9678c612891b64fd /desktop
parentd8801ff061ef38c339bc106b2b334c9e7989ea0f (diff)
downloadonionshare-c6ccd4de579332187232f0e4bfeb33fe531f76d8.tar.gz
onionshare-c6ccd4de579332187232f0e4bfeb33fe531f76d8.zip
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
Diffstat (limited to 'desktop')
-rw-r--r--desktop/src/onionshare/tab/mode/share_mode/threads.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop/src/onionshare/tab/mode/share_mode/threads.py b/desktop/src/onionshare/tab/mode/share_mode/threads.py
index 5be94e88..839d30ea 100644
--- a/desktop/src/onionshare/tab/mode/share_mode/threads.py
+++ b/desktop/src/onionshare/tab/mode/share_mode/threads.py
@@ -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)