summaryrefslogtreecommitdiff
path: root/libmat/parser.py
diff options
context:
space:
mode:
authorjvoisin2015-12-16 15:00:14 +0100
committerjvoisin2015-12-16 15:00:14 +0100
commita027c0b989f7c7a5182db25aa628d2c138d024ae (patch)
treedf0ddcfc198e343121e6eebcb3ae86553d241864 /libmat/parser.py
parentfff8533fa9e757dc8979f7d5171ba7609aa4bca9 (diff)
Fix the gui's metadata popup
It seems that Python is still sucking hard when it comes to encoding.
Diffstat (limited to 'libmat/parser.py')
-rw-r--r--libmat/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat/parser.py b/libmat/parser.py
index 2a82a25..e36e921 100644
--- a/libmat/parser.py
+++ b/libmat/parser.py
@@ -28,7 +28,7 @@ class GenericParser(object):
28 self.backup = backup 28 self.backup = backup
29 self.is_writable = is_writable 29 self.is_writable = is_writable
30 self.filename = filename 30 self.filename = filename
31 self.basename = os.path.basename(filename) 31 self.basename = os.path.basename(filename).decode('utf8')
32 self.output = tempfile.mkstemp()[1] 32 self.output = tempfile.mkstemp()[1]
33 33
34 def __del__(self): 34 def __del__(self):