diff options
Diffstat (limited to 'mat-gui')
| -rwxr-xr-x | mat-gui | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -279,7 +279,9 @@ non-anonymised) file to output archive')) | |||
| 279 | ''' | 279 | ''' |
| 280 | cf = CFile(filename, add2archive=self.add2archive, | 280 | cf = CFile(filename, add2archive=self.add2archive, |
| 281 | low_pdf_quality=self.pdf_quality) | 281 | low_pdf_quality=self.pdf_quality) |
| 282 | if cf.file: # if the file is supported by the mat | 282 | # if the file is supported by the mat, |
| 283 | # and is writable (for usability's sake). | ||
| 284 | if cf.file and cf.file.is_writable: | ||
| 283 | self.liststore.append([cf, cf.file.basename, _('Unknown')]) | 285 | self.liststore.append([cf, cf.file.basename, _('Unknown')]) |
| 284 | return False | 286 | return False |
| 285 | return True | 287 | return True |
