aboutsummaryrefslogtreecommitdiff
path: root/cli/onionshare_cli/web/send_base_mode.py
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-02-13 10:40:55 -0800
committerMicah Lee <micah@micahflee.com>2022-02-13 10:40:55 -0800
commit305abff13c8bb72e52c8e0268aa2e5efcf00a6d1 (patch)
treed90ed326fd77e2a5acc909c7872b2ca39c4d9a8a /cli/onionshare_cli/web/send_base_mode.py
parent33fd639f2ad844031ef664107ec13d234fd7b6b2 (diff)
downloadonionshare-305abff13c8bb72e52c8e0268aa2e5efcf00a6d1.tar.gz
onionshare-305abff13c8bb72e52c8e0268aa2e5efcf00a6d1.zip
Remove cleanup_tempfiles altogether because they are not being used
Diffstat (limited to 'cli/onionshare_cli/web/send_base_mode.py')
-rw-r--r--cli/onionshare_cli/web/send_base_mode.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/onionshare_cli/web/send_base_mode.py b/cli/onionshare_cli/web/send_base_mode.py
index 2e906081..d690c98d 100644
--- a/cli/onionshare_cli/web/send_base_mode.py
+++ b/cli/onionshare_cli/web/send_base_mode.py
@@ -201,9 +201,6 @@ class SendBaseModeWeb:
self._gzip_compress(filesystem_path, gzip_filename, 6, None)
self.gzip_individual_files[filesystem_path] = gzip_filename
- # Cleanup this temp file
- self.web.cleanup_tempfiles.append(gzip_filename)
-
file_to_download = self.gzip_individual_files[filesystem_path]
filesize = os.path.getsize(self.gzip_individual_files[filesystem_path])
else: