summaryrefslogtreecommitdiff
path: root/mat-gui
diff options
context:
space:
mode:
Diffstat (limited to 'mat-gui')
-rwxr-xr-xmat-gui4
1 files changed, 3 insertions, 1 deletions
diff --git a/mat-gui b/mat-gui
index 4371521..3ff9670 100755
--- a/mat-gui
+++ b/mat-gui
@@ -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