diff options
Diffstat (limited to 'mat-gui')
| -rwxr-xr-x | mat-gui | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -22,7 +22,7 @@ except ImportError: # python3 | |||
| 22 | from libmat import mat | 22 | from libmat import mat |
| 23 | from libmat import strippers | 23 | from libmat import strippers |
| 24 | from libmat import parser | 24 | from libmat import parser |
| 25 | from libmat import archive | 25 | #from libmat import archive |
| 26 | 26 | ||
| 27 | logging.basicConfig(level=mat.LOGGING_LEVEL) | 27 | logging.basicConfig(level=mat.LOGGING_LEVEL) |
| 28 | 28 | ||
| @@ -432,8 +432,9 @@ non-anonymised) file from output archive')) | |||
| 432 | msg = _('Cleaning %s') % self.liststore[line][1].decode('utf-8', 'replace') | 432 | msg = _('Cleaning %s') % self.liststore[line][1].decode('utf-8', 'replace') |
| 433 | logging.info(msg) | 433 | logging.info(msg) |
| 434 | self.statusbar.push(0, msg) | 434 | self.statusbar.push(0, msg) |
| 435 | is_archive = isinstance(self.liststore[line][0].file, archive.GenericArchiveStripper) | 435 | #is_archive = isinstance(self.liststore[line][0].file, archive.GenericArchiveStripper) |
| 436 | is_terminal = isinstance(self.liststore[line][0].file, archive.TerminalZipStripper) | 436 | #is_terminal = isinstance(self.liststore[line][0].file, archive.TerminalZipStripper) |
| 437 | is_archive = is_terminal = True | ||
| 437 | list_to_add = [] | 438 | list_to_add = [] |
| 438 | if is_archive and not is_terminal: | 439 | if is_archive and not is_terminal: |
| 439 | unsupported_list = self.liststore[line][0].file.list_unsupported() | 440 | unsupported_list = self.liststore[line][0].file.list_unsupported() |
