summaryrefslogtreecommitdiff
path: root/mat-gui
diff options
context:
space:
mode:
Diffstat (limited to 'mat-gui')
-rwxr-xr-xmat-gui8
1 files changed, 4 insertions, 4 deletions
diff --git a/mat-gui b/mat-gui
index 03afedf..24cf766 100755
--- a/mat-gui
+++ b/mat-gui
@@ -410,13 +410,13 @@ non-anonymised) file to output archive'))
410 logging.info(msg) 410 logging.info(msg)
411 self.statusbar.push(0, msg) 411 self.statusbar.push(0, msg)
412 if isinstance(self.liststore[line][0].file, archive.GenericArchiveStripper): 412 if isinstance(self.liststore[line][0].file, archive.GenericArchiveStripper):
413 list_to_add = []
413 unsupported_list = self.liststore[line][0].file.list_unsupported() 414 unsupported_list = self.liststore[line][0].file.list_unsupported()
414 if unsupported_list: 415 if type(unsupported_list) == list and unsupported_list:
416 logging.debug("Unsupported list: %s" % unsupported_list)
415 filename = os.path.basename(self.liststore[line][0].file.filename) 417 filename = os.path.basename(self.liststore[line][0].file.filename)
416 list_to_add = self.__popup_archive(filename, unsupported_list) 418 list_to_add = self.__popup_archive(filename, unsupported_list)
417 if self.liststore[line][0].file.remove_all(whitelist=list_to_add): 419 if self.liststore[line][0].file.remove_all(whitelist=list_to_add):
418 self.liststore[line][2] = _('Clean')
419 elif self.liststore[line][0].file.remove_all():
420 self.liststore[line][2] = _('Clean') 420 self.liststore[line][2] = _('Clean')
421 yield True 421 yield True
422 self.statusbar.push(0, _('Ready')) 422 self.statusbar.push(0, _('Ready'))