When there is only 1 file being shared, don't zip it

This commit is contained in:
Micah Lee 2018-09-20 09:14:56 -07:00
parent dd15387339
commit 017ee5250d
5 changed files with 55 additions and 43 deletions

View file

@ -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)