Move more mode-specific logic out of the Web class and into the approprate mode web classes

This commit is contained in:
Micah Lee 2018-09-21 11:36:19 -07:00
parent 05a2ee0559
commit 4127aa4d71
7 changed files with 87 additions and 84 deletions

View file

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