diff options
| author | jvoisin | 2013-07-16 18:39:30 +0200 |
|---|---|---|
| committer | jvoisin | 2013-07-16 18:43:16 +0200 |
| commit | bf0193663d5dfad924009e1db0518af2c18818bc (patch) | |
| tree | d03d442eea1ce69605bc8cd2238fd5673d28baab | |
| parent | fb0e2fa10b94b22a792e756e996b09436f472b0d (diff) | |
Fix a GUI crash
| -rw-r--r-- | MAT/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MAT/parser.py b/MAT/parser.py index 66b9c79..bbca9b3 100644 --- a/MAT/parser.py +++ b/MAT/parser.py | |||
| @@ -33,7 +33,7 @@ class GenericParser(object): | |||
| 33 | self.filename = hachoir_core.cmd_line.unicodeFilename(filename) | 33 | self.filename = hachoir_core.cmd_line.unicodeFilename(filename) |
| 34 | except TypeError: # get rid of "decoding Unicode is not supported" | 34 | except TypeError: # get rid of "decoding Unicode is not supported" |
| 35 | self.filename = filename | 35 | self.filename = filename |
| 36 | # basename, ext = os.path.splitext(filename) | 36 | self.basename = os.path.basename(filename) |
| 37 | self.output = filename + '.tmp' | 37 | self.output = filename + '.tmp' |
| 38 | 38 | ||
| 39 | def is_clean(self): | 39 | def is_clean(self): |
