summaryrefslogtreecommitdiff
path: root/mat-gui
diff options
context:
space:
mode:
Diffstat (limited to 'mat-gui')
-rwxr-xr-xmat-gui4
1 files changed, 2 insertions, 2 deletions
diff --git a/mat-gui b/mat-gui
index 576c90e..bb123a9 100755
--- a/mat-gui
+++ b/mat-gui
@@ -34,7 +34,7 @@ class CFile(object):
34 try: 34 try:
35 self.file = mat.create_class_file(filename, backup, add2archive) 35 self.file = mat.create_class_file(filename, backup, add2archive)
36 except: 36 except:
37 self.file = None 37 self.file = False
38 38
39 39
40class GUI: 40class GUI:
@@ -295,7 +295,7 @@ data loss, but clean more efficiently'))
295 return False 295 return False
296 296
297 cf = CFile(filename, self.backup, self.add2archive) 297 cf = CFile(filename, self.backup, self.add2archive)
298 if cf.file is not None: # if the file is supported by the mat 298 if cf.file is not False: # if the file is supported by the mat
299 self.liststore.append([cf, cf.file.basename, 299 self.liststore.append([cf, cf.file.basename,
300 cf.file.mime, _('unknow'), 'None']) 300 cf.file.mime, _('unknow'), 'None'])
301 return False 301 return False