mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-11 10:55:10 -04:00
Move more mode-specific logic out of the Web class and into the approprate mode web classes
This commit is contained in:
parent
05a2ee0559
commit
4127aa4d71
7 changed files with 87 additions and 84 deletions
|
@ -47,8 +47,8 @@ class CompressThread(QtCore.QThread):
|
|||
# Cancelled
|
||||
pass
|
||||
|
||||
if self.mode.web.is_zipped:
|
||||
self.mode.app.cleanup_filenames.append(self.mode.web.download_filename)
|
||||
if self.mode.web.share_mode.is_zipped:
|
||||
self.mode.app.cleanup_filenames.append(self.mode.web.share_mode.download_filename)
|
||||
except OSError as e:
|
||||
self.error.emit(e.strerror)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue