mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-10 10:25:03 -04:00
When there is only 1 file being shared, don't zip it
This commit is contained in:
parent
dd15387339
commit
017ee5250d
5 changed files with 55 additions and 43 deletions
|
@ -47,7 +47,7 @@ class CompressThread(QtCore.QThread):
|
|||
# Cancelled
|
||||
pass
|
||||
|
||||
self.mode.app.cleanup_filenames.append(self.mode.web.zip_filename)
|
||||
self.mode.app.cleanup_filenames.append(self.mode.web.download_filename)
|
||||
except OSError as e:
|
||||
self.error.emit(e.strerror)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue