diff options
Diffstat (limited to 'mat-gui')
| -rwxr-xr-x | mat-gui | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -273,8 +273,7 @@ data loss, but clean more efficiently')) | |||
| 273 | if self.add_file_to_treeview(path_to_file): | 273 | if self.add_file_to_treeview(path_to_file): |
| 274 | not_supported.append(item) | 274 | not_supported.append(item) |
| 275 | else: # filename is a regular file | 275 | else: # filename is a regular file |
| 276 | self.add_file_to_treeview(filename) | 276 | if self.add_file_to_treeview(filename): |
| 277 | if self.add_file_to_treeview(path_to_file): | ||
| 278 | not_supported.append(item) | 277 | not_supported.append(item) |
| 279 | yield True | 278 | yield True |
| 280 | self.popup_non_supported(not_supported) | 279 | self.popup_non_supported(not_supported) |
| @@ -282,7 +281,7 @@ data loss, but clean more efficiently')) | |||
| 282 | 281 | ||
| 283 | def add_file_to_treeview(self, filename): | 282 | def add_file_to_treeview(self, filename): |
| 284 | ''' | 283 | ''' |
| 285 | Add a file to the list if his format is supported | 284 | Add a file to the list if it's format is supported |
| 286 | ''' | 285 | ''' |
| 287 | cf = CFile(filename, self.backup, self.add2archive) | 286 | cf = CFile(filename, self.backup, self.add2archive) |
| 288 | if cf.file is not None: # if the file is supported by the mat | 287 | if cf.file is not None: # if the file is supported by the mat |
